diff --git a/chart/templates/patch.card-color.yaml b/chart/templates/patch.card-color.yaml index d2f5ba7..119772c 100644 --- a/chart/templates/patch.card-color.yaml +++ b/chart/templates/patch.card-color.yaml @@ -1,7 +1,7 @@ apiVersion: krateo.io/v1alpha1 kind: Patch metadata: - name: compositiondefinition-status-card-color + name: compositiondefinition-status-card-color-{{ .Release.Name }}-{{ .Release.Namespace }} spec: from: objectReference: @@ -17,4 +17,4 @@ spec: name: template-{{ .Release.Name }}-card namespace: {{ .Release.Namespace }} fieldPath: spec.app.template.color - transform: ${ .conditions[] | select(.type == "Ready") | if .status == "False" then "yellow" elif .status == "True" then "red" else "grey" end } \ No newline at end of file + transform: ${ .conditions[] | select(.type == "Ready") | if .status == "False" then "orange" elif .status == "True" then "green" else "grey" end } \ No newline at end of file