chore(notifications): remove unneeded operations from templates (#17307)

* chore(deps): bump library/ubuntu in /test/container (#13409)

Bumps library/ubuntu from `9a0bdde` to `67211c1`.

---
updated-dependencies:
- dependency-name: library/ubuntu
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Signed-off-by: Michael Firestone <[email protected]>

* rm unneeded operations from templates

Signed-off-by: Michael Firestone <[email protected]>
Signed-off-by: Michael Firestone <[email protected]>

* rm more unneeded ops

Signed-off-by: Michael Firestone <[email protected]>

---------

Signed-off-by: dependabot[bot] <[email protected]>
Signed-off-by: Michael Firestone <[email protected]>
Signed-off-by: Michael Firestone <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Michael Firestone <[email protected]>
This commit is contained in:
Michael Firestone
2024-02-29 13:54:15 +02:00
committed by GitHub
co-authored by dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Michael Firestone
parent ab21aa4ca1
commit 9dc6d645f0
8 changed files with 36 additions and 72 deletions
+12 -24
View File
@@ -62,8 +62,7 @@ slack:
"short": true
}
{{range $index, $c := .app.status.conditions}}
{{if not $index}},{{end}}
{{if $index}},{{end}}
,
{
"title": "{{$c.type}}",
"value": "{{$c.message}}",
@@ -90,8 +89,7 @@ teams:
"value": "{{.app.status.sync.revision}}"
}
{{range $index, $c := .app.status.conditions}}
{{if not $index}},{{end}}
{{if $index}},{{end}}
,
{
"name": "{{$c.type}}",
"value": "{{$c.message}}"
@@ -145,8 +143,7 @@ slack:
"short": true
}
{{range $index, $c := .app.status.conditions}}
{{if not $index}},{{end}}
{{if $index}},{{end}}
,
{
"title": "{{$c.type}}",
"value": "{{$c.message}}",
@@ -169,8 +166,7 @@ teams:
"value": "{{.app.spec.source.repoURL}}"
}
{{range $index, $c := .app.status.conditions}}
{{if not $index}},{{end}}
{{if $index}},{{end}}
,
{
"name": "{{$c.type}}",
"value": "{{$c.message}}"
@@ -224,8 +220,7 @@ slack:
"short": true
}
{{range $index, $c := .app.status.conditions}}
{{if not $index}},{{end}}
{{if $index}},{{end}}
,
{
"title": "{{$c.type}}",
"value": "{{$c.message}}",
@@ -252,8 +247,7 @@ teams:
"value": "{{.app.spec.source.repoURL}}"
}
{{range $index, $c := .app.status.conditions}}
{{if not $index}},{{end}}
{{if $index}},{{end}}
,
{
"name": "{{$c.type}}",
"value": "{{$c.message}}"
@@ -307,8 +301,7 @@ slack:
"short": true
}
{{range $index, $c := .app.status.conditions}}
{{if not $index}},{{end}}
{{if $index}},{{end}}
,
{
"title": "{{$c.type}}",
"value": "{{$c.message}}",
@@ -335,8 +328,7 @@ teams:
"value": "{{.app.spec.source.repoURL}}"
}
{{range $index, $c := .app.status.conditions}}
{{if not $index}},{{end}}
{{if $index}},{{end}}
,
{
"name": "{{$c.type}}",
"value": "{{$c.message}}"
@@ -394,8 +386,7 @@ slack:
"short": true
}
{{range $index, $c := .app.status.conditions}}
{{if not $index}},{{end}}
{{if $index}},{{end}}
,
{
"title": "{{$c.type}}",
"value": "{{$c.message}}",
@@ -418,8 +409,7 @@ teams:
"value": "{{.app.spec.source.repoURL}}"
}
{{range $index, $c := .app.status.conditions}}
{{if not $index}},{{end}}
{{if $index}},{{end}}
,
{
"name": "{{$c.type}}",
"value": "{{$c.message}}"
@@ -472,8 +462,7 @@ slack:
"short": true
}
{{range $index, $c := .app.status.conditions}}
{{if not $index}},{{end}}
{{if $index}},{{end}}
,
{
"title": "{{$c.type}}",
"value": "{{$c.message}}",
@@ -500,8 +489,7 @@ teams:
"value": "{{.app.spec.source.repoURL}}"
}
{{range $index, $c := .app.status.conditions}}
{{if not $index}},{{end}}
{{if $index}},{{end}}
,
{
"name": "{{$c.type}}",
"value": "{{$c.message}}"
+12 -24
View File
@@ -40,8 +40,7 @@ data:
"short": true
}
{{range $index, $c := .app.status.conditions}}
{{if not $index}},{{end}}
{{if $index}},{{end}}
,
{
"title": "{{$c.type}}",
"value": "{{$c.message}}",
@@ -68,8 +67,7 @@ data:
"value": "{{.app.status.sync.revision}}"
}
{{range $index, $c := .app.status.conditions}}
{{if not $index}},{{end}}
{{if $index}},{{end}}
,
{
"name": "{{$c.type}}",
"value": "{{$c.message}}"
@@ -119,8 +117,7 @@ data:
"short": true
}
{{range $index, $c := .app.status.conditions}}
{{if not $index}},{{end}}
{{if $index}},{{end}}
,
{
"title": "{{$c.type}}",
"value": "{{$c.message}}",
@@ -143,8 +140,7 @@ data:
"value": "{{.app.spec.source.repoURL}}"
}
{{range $index, $c := .app.status.conditions}}
{{if not $index}},{{end}}
{{if $index}},{{end}}
,
{
"name": "{{$c.type}}",
"value": "{{$c.message}}"
@@ -194,8 +190,7 @@ data:
"short": true
}
{{range $index, $c := .app.status.conditions}}
{{if not $index}},{{end}}
{{if $index}},{{end}}
,
{
"title": "{{$c.type}}",
"value": "{{$c.message}}",
@@ -222,8 +217,7 @@ data:
"value": "{{.app.spec.source.repoURL}}"
}
{{range $index, $c := .app.status.conditions}}
{{if not $index}},{{end}}
{{if $index}},{{end}}
,
{
"name": "{{$c.type}}",
"value": "{{$c.message}}"
@@ -273,8 +267,7 @@ data:
"short": true
}
{{range $index, $c := .app.status.conditions}}
{{if not $index}},{{end}}
{{if $index}},{{end}}
,
{
"title": "{{$c.type}}",
"value": "{{$c.message}}",
@@ -301,8 +294,7 @@ data:
"value": "{{.app.spec.source.repoURL}}"
}
{{range $index, $c := .app.status.conditions}}
{{if not $index}},{{end}}
{{if $index}},{{end}}
,
{
"name": "{{$c.type}}",
"value": "{{$c.message}}"
@@ -356,8 +348,7 @@ data:
"short": true
}
{{range $index, $c := .app.status.conditions}}
{{if not $index}},{{end}}
{{if $index}},{{end}}
,
{
"title": "{{$c.type}}",
"value": "{{$c.message}}",
@@ -380,8 +371,7 @@ data:
"value": "{{.app.spec.source.repoURL}}"
}
{{range $index, $c := .app.status.conditions}}
{{if not $index}},{{end}}
{{if $index}},{{end}}
,
{
"name": "{{$c.type}}",
"value": "{{$c.message}}"
@@ -430,8 +420,7 @@ data:
"short": true
}
{{range $index, $c := .app.status.conditions}}
{{if not $index}},{{end}}
{{if $index}},{{end}}
,
{
"title": "{{$c.type}}",
"value": "{{$c.message}}",
@@ -458,8 +447,7 @@ data:
"value": "{{.app.spec.source.repoURL}}"
}
{{range $index, $c := .app.status.conditions}}
{{if not $index}},{{end}}
{{if $index}},{{end}}
,
{
"name": "{{$c.type}}",
"value": "{{$c.message}}"
@@ -25,8 +25,7 @@ slack:
"short": true
}
{{range $index, $c := .app.status.conditions}}
{{if not $index}},{{end}}
{{if $index}},{{end}}
,
{
"title": "{{$c.type}}",
"value": "{{$c.message}}",
@@ -52,8 +51,7 @@ teams:
"value": "{{.app.status.sync.revision}}"
}
{{range $index, $c := .app.status.conditions}}
{{if not $index}},{{end}}
{{if $index}},{{end}}
,
{
"name": "{{$c.type}}",
"value": "{{$c.message}}"
@@ -21,8 +21,7 @@ slack:
"short": true
}
{{range $index, $c := .app.status.conditions}}
{{if not $index}},{{end}}
{{if $index}},{{end}}
,
{
"title": "{{$c.type}}",
"value": "{{$c.message}}",
@@ -44,8 +43,7 @@ teams:
"value": "{{.app.spec.source.repoURL}}"
}
{{range $index, $c := .app.status.conditions}}
{{if not $index}},{{end}}
{{if $index}},{{end}}
,
{
"name": "{{$c.type}}",
"value": "{{$c.message}}"
@@ -21,8 +21,7 @@ slack:
"short": true
}
{{range $index, $c := .app.status.conditions}}
{{if not $index}},{{end}}
{{if $index}},{{end}}
,
{
"title": "{{$c.type}}",
"value": "{{$c.message}}",
@@ -48,8 +47,7 @@ teams:
"value": "{{.app.spec.source.repoURL}}"
}
{{range $index, $c := .app.status.conditions}}
{{if not $index}},{{end}}
{{if $index}},{{end}}
,
{
"name": "{{$c.type}}",
"value": "{{$c.message}}"
@@ -21,8 +21,7 @@ slack:
"short": true
}
{{range $index, $c := .app.status.conditions}}
{{if not $index}},{{end}}
{{if $index}},{{end}}
,
{
"title": "{{$c.type}}",
"value": "{{$c.message}}",
@@ -47,8 +46,7 @@ teams:
"value": "{{.app.spec.source.repoURL}}"
}
{{range $index, $c := .app.status.conditions}}
{{if not $index}},{{end}}
{{if $index}},{{end}}
,
{
"name": "{{$c.type}}",
"value": "{{$c.message}}"
@@ -26,8 +26,7 @@ slack:
"short": true
}
{{range $index, $c := .app.status.conditions}}
{{if not $index}},{{end}}
{{if $index}},{{end}}
,
{
"title": "{{$c.type}}",
"value": "{{$c.message}}",
@@ -48,8 +47,7 @@ teams:
"value": "{{.app.spec.source.repoURL}}"
}
{{range $index, $c := .app.status.conditions}}
{{if not $index}},{{end}}
{{if $index}},{{end}}
,
{
"name": "{{$c.type}}",
"value": "{{$c.message}}"
@@ -21,8 +21,7 @@ slack:
"short": true
}
{{range $index, $c := .app.status.conditions}}
{{if not $index}},{{end}}
{{if $index}},{{end}}
,
{
"title": "{{$c.type}}",
"value": "{{$c.message}}",
@@ -48,8 +47,7 @@ teams:
"value": "{{.app.spec.source.repoURL}}"
}
{{range $index, $c := .app.status.conditions}}
{{if not $index}},{{end}}
{{if $index}},{{end}}
,
{
"name": "{{$c.type}}",
"value": "{{$c.message}}"