Skip to content

Commit

Permalink
update templates to match the install.yaml
Browse files Browse the repository at this point in the history
Signed-off-by: Pan Luo <pan.luo@ubc.ca>
  • Loading branch information
xcompass committed Oct 17, 2024
1 parent 3102f0e commit 23e2360
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 11 deletions.
4 changes: 2 additions & 2 deletions notifications_catalog/templates/app-deployed.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,6 @@ teams:
"name":"Open Repository",
"targets":[{
"os":"default",
"uri":{{- if .app.spec.source }} ":arrow_heading_up: {{ .app.spec.source.repoURL }}" {{- else if .app.spec.sources }} "{{- range $index, $source := .app.spec.sources }}{{ if $index }}\n{{ end }}:arrow_heading_up: {{ $source.repoURL }}{{- end }}" {{- end }},}}" {{- end }},
"uri":{{- if .app.spec.source }} ":arrow_heading_up: {{ .app.spec.source.repoURL }}" {{- else if .app.spec.sources }} "{{- range $index, $source := .app.spec.sources }}{{ if $index }}\n{{ end }}:arrow_heading_up: {{ $source.repoURL }}{{- end }}" {{- end }},
}]
}]
}]
2 changes: 1 addition & 1 deletion notifications_catalog/templates/app-health-degraded.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,6 @@ teams:
"name":"Open Repository",
"targets":[{
"os":"default",
"uri":{{- if .app.spec.source }} ":arrow_heading_up: {{ .app.spec.source.repoURL }}" {{- else if .app.spec.sources }} "{{- range $index, $source := .app.spec.sources }}{{ if $index }}\n{{ end }}:arrow_heading_up: {{ $source.repoURL }}{{- end }}" {{- end }},}}" {{- end }},
"uri":{{- if .app.spec.source }} ":arrow_heading_up: {{ .app.spec.source.repoURL }}" {{- else if .app.spec.sources }} "{{- range $index, $source := .app.spec.sources }}{{ if $index }}\n{{ end }}:arrow_heading_up: {{ $source.repoURL }}{{- end }}" {{- end }},
}]
}]
4 changes: 2 additions & 2 deletions notifications_catalog/templates/app-sync-failed.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,6 @@ teams:
"name":"Open Repository",
"targets":[{
"os":"default",
"uri":{{- if .app.spec.source }} ":arrow_heading_up: {{ .app.spec.source.repoURL }}" {{- else if .app.spec.sources }} "{{- range $index, $source := .app.spec.sources }}{{ if $index }}\n{{ end }}:arrow_heading_up: {{ $source.repoURL }}{{- end }}" {{- end }},}}" {{- end }},
"uri":{{- if .app.spec.source }} ":arrow_heading_up: {{ .app.spec.source.repoURL }}" {{- else if .app.spec.sources }} "{{- range $index, $source := .app.spec.sources }}{{ if $index }}\n{{ end }}:arrow_heading_up: {{ $source.repoURL }}{{- end }}" {{- end }},
}]
}]
}]
4 changes: 2 additions & 2 deletions notifications_catalog/templates/app-sync-running.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,6 @@ teams:
"name":"Open Repository",
"targets":[{
"os":"default",
"uri":{{- if .app.spec.source }} ":arrow_heading_up: {{ .app.spec.source.repoURL }}" {{- else if .app.spec.sources }} "{{- range $index, $source := .app.spec.sources }}{{ if $index }}\n{{ end }}:arrow_heading_up: {{ $source.repoURL }}{{- end }}" {{- end }},}}" {{- end }},
"uri":{{- if .app.spec.source }} ":arrow_heading_up: {{ .app.spec.source.repoURL }}" {{- else if .app.spec.sources }} "{{- range $index, $source := .app.spec.sources }}{{ if $index }}\n{{ end }}:arrow_heading_up: {{ $source.repoURL }}{{- end }}" {{- end }},
}]
}]
}]
4 changes: 2 additions & 2 deletions notifications_catalog/templates/app-sync-status-unknown.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,6 @@ teams:
"name":"Open Repository",
"targets":[{
"os":"default",
"uri":{{- if .app.spec.source }} ":arrow_heading_up: {{ .app.spec.source.repoURL }}" {{- else if .app.spec.sources }} "{{- range $index, $source := .app.spec.sources }}{{ if $index }}\n{{ end }}:arrow_heading_up: {{ $source.repoURL }}{{- end }}" {{- end }},}}" {{- end }},
"uri":{{- if .app.spec.source }} ":arrow_heading_up: {{ .app.spec.source.repoURL }}" {{- else if .app.spec.sources }} "{{- range $index, $source := .app.spec.sources }}{{ if $index }}\n{{ end }}:arrow_heading_up: {{ $source.repoURL }}{{- end }}" {{- end }},
}]
}]
}]
4 changes: 2 additions & 2 deletions notifications_catalog/templates/app-sync-succeeded.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,6 @@ teams:
"name":"Open Repository",
"targets":[{
"os":"default",
"uri":{{- if .app.spec.source }} ":arrow_heading_up: {{ .app.spec.source.repoURL }}" {{- else if .app.spec.sources }} "{{- range $index, $source := .app.spec.sources }}{{ if $index }}\n{{ end }}:arrow_heading_up: {{ $source.repoURL }}{{- end }}" {{- end }},}}" {{- end }},
"uri":{{- if .app.spec.source }} ":arrow_heading_up: {{ .app.spec.source.repoURL }}" {{- else if .app.spec.sources }} "{{- range $index, $source := .app.spec.sources }}{{ if $index }}\n{{ end }}:arrow_heading_up: {{ $source.repoURL }}{{- end }}" {{- end }},
}]
}]
}]

0 comments on commit 23e2360

Please sign in to comment.