Skip to content

Commit

Permalink
Merge pull request #301 from appian/deplabels
Browse files Browse the repository at this point in the history
Update the controller deployment labels to include more standard labels and use selector labels
  • Loading branch information
toshipp authored Jan 22, 2025
2 parents 0f33e38 + b021ae7 commit 5b90736
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions charts/pvc-autoresizer/templates/controller/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ metadata:
spec:
selector:
matchLabels:
app.kubernetes.io/name: pvc-autoresizer
{{- include "pvc-autoresizer.selectorLabels" . | nindent 6 }}
replicas: {{ .Values.controller.replicas }}
template:
metadata:
labels:
app.kubernetes.io/name: pvc-autoresizer
{{- include "pvc-autoresizer.labels" . | nindent 8 }}
{{- with .Values.controller.podLabels }}
{{- toYaml . | nindent 8 }}
{{- end }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ spec:
- {{ .Release.Namespace }}
selector:
matchLabels:
app.kubernetes.io/name: pvc-autoresizer
{{- include "pvc-autoresizer.selectorLabels" . | nindent 6 }}
podMetricsEndpoints:
- port: metrics
path: /metrics
Expand Down
2 changes: 1 addition & 1 deletion charts/pvc-autoresizer/templates/controller/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ spec:
- port: 443
targetPort: 9443
selector:
app.kubernetes.io/name: pvc-autoresizer
{{- include "pvc-autoresizer.selectorLabels" . | nindent 4 }}
{{- end }}

0 comments on commit 5b90736

Please sign in to comment.