diff --git a/charts/litmus-agent/templates/infra-config-map-workflow.yaml b/charts/litmus-agent/templates/infra-config-map-workflow.yaml index 406086d8..4de06ab9 100644 --- a/charts/litmus-agent/templates/infra-config-map-workflow.yaml +++ b/charts/litmus-agent/templates/infra-config-map-workflow.yaml @@ -4,7 +4,7 @@ kind: ConfigMap metadata: name: {{ index .Values "workflow-controller" "appSettings" "configmapName" }} labels: - {{- include "subscriber.labels" . | nindent 4 }} + {{- include "litmus-agent.labels" . | nindent 4 }} annotations: # This is what defines this resource as a hook. Without this line, the # job is considered part of the release. diff --git a/charts/litmus-agent/templates/infra-config-map.yaml b/charts/litmus-agent/templates/infra-config-map.yaml index b6b1b594..22811596 100644 --- a/charts/litmus-agent/templates/infra-config-map.yaml +++ b/charts/litmus-agent/templates/infra-config-map.yaml @@ -4,7 +4,7 @@ kind: ConfigMap metadata: name: {{ .Values.global.infraConfigName }} labels: - {{- include "subscriber.labels" . | nindent 4 }} + {{- include "litmus-agent.labels" . | nindent 4 }} annotations: # This is what defines this resource as a hook. Without this line, the # job is considered part of the release. diff --git a/charts/litmus-agent/templates/infra-secret.yaml b/charts/litmus-agent/templates/infra-secret.yaml index c0af1e9d..ab36fe68 100644 --- a/charts/litmus-agent/templates/infra-secret.yaml +++ b/charts/litmus-agent/templates/infra-secret.yaml @@ -5,7 +5,7 @@ type: Opaque metadata: name: {{ .Values.global.infraSecretName }} labels: - {{- include "subscriber.labels" . | nindent 4 }} + {{- include "litmus-agent.labels" . | nindent 4 }} annotations: # This is what defines this resource as a hook. Without this line, the # job is considered part of the release. diff --git a/charts/litmus-agent/templates/secret.yaml b/charts/litmus-agent/templates/secret.yaml index ae059aa3..cbcc04a8 100644 --- a/charts/litmus-agent/templates/secret.yaml +++ b/charts/litmus-agent/templates/secret.yaml @@ -2,7 +2,7 @@ apiVersion: v1 kind: Secret metadata: - name: {{ include "subscriber.fullname" . }}-hook + name: {{ include "litmus-agent.fullname" . }}-hook labels: {{- include "litmus-agent.labels" . | nindent 4 }} annotations: diff --git a/charts/litmus-agent/values.yaml b/charts/litmus-agent/values.yaml index 7bd2cf46..10ea04f8 100644 --- a/charts/litmus-agent/values.yaml +++ b/charts/litmus-agent/values.yaml @@ -56,7 +56,7 @@ resources: enablePreInstallJob: true # Existing Secret name should be: -# `{{ include "subscriber.fullname" . }}-hook` +# `{{ include "litmus-agent.fullname" . }}-hook` # I.E. `name: litmus-agent-hook` # -- Use an existing hook Secret instead of creating one with the chart, ref. to templates/secret.yaml useExistingHookSecret: false