Skip to content

Commit

Permalink
revert: add instance label to templates
Browse files Browse the repository at this point in the history
Signed-off-by: Bence Csati <bence.csati@axoflow.com>
  • Loading branch information
csatib02 committed Dec 20, 2024
1 parent 26b6bd7 commit 8ec2f50
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
2 changes: 0 additions & 2 deletions deploy/charts/vault-operator/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,10 @@ spec:
selector:
matchLabels:
app.kubernetes.io/name: {{ include "vault-operator.name" . }}
app.kubernetes.io/instance: {{ .Release.Name }}
template:
metadata:
labels:
app.kubernetes.io/name: {{ include "vault-operator.name" . }}
app.kubernetes.io/instance: {{ .Release.Name }}
{{- with .Values.podLabels }}
{{- toYaml . | nindent 8 }}
{{- end }}
Expand Down
1 change: 0 additions & 1 deletion deploy/charts/vault-operator/templates/servicemonitor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ spec:
selector:
matchLabels:
app.kubernetes.io/name: {{ include "vault-operator.name" . }}
app.kubernetes.io/instance: {{ .Release.Name }}
endpoints:
- port: http-metrics
path: /metrics
Expand Down

0 comments on commit 8ec2f50

Please # to comment.