Skip to content

Commit

Permalink
Merge pull request #58 from WyriHaximusNet/revert-selector-labels-for…
Browse files Browse the repository at this point in the history
…-redis-db-assignment-operator

Revert selector labels for redis-db-assignment-operator
  • Loading branch information
WyriHaximus authored Jan 16, 2021
2 parents a8a7d52 + aead089 commit 0597dda
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 3 deletions.
2 changes: 1 addition & 1 deletion charts/redis-db-assignment-operator/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ description: Redis Database Assignment Operator
home: https://github.com/WyriHaximusNet/docker-kubernetes-redis-db-assignment-operator
icon: https://helm.wyrihaximus.net/images/charts/redis-db-assignment-operator.png
type: application
version: 1.0.4
version: 1.0.5
appVersion: v1.0.1
maintainers:
- name: WyriHaximus
Expand Down
14 changes: 12 additions & 2 deletions charts/redis-db-assignment-operator/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,24 @@ spec:
type: Recreate
selector:
matchLabels:
{{- include "commons.selectorLabels" . | nindent 6 }}
app.kubernetes.io/name: {{ include "commons.name" . }}
app.kubernetes.io/instance: {{ .Release.Name }}
template:
metadata:
annotations:
prometheus.io/scrape: "true"
prometheus.io/port: "9115"
labels:
{{- include "commons.selectorLabels" . | nindent 8 }}
app: {{ template "commons.name" . }}
app.kubernetes.io/instance: {{ .Release.Name }}
app.kubernetes.io/name: {{ template "commons.name" . }}
app.kubernetes.io/version: {{ .Chart.Version | quote }}
appRevision: {{ template "commons.nameRevision" . }}
chart: {{ template "commons.chart" . }}
helm.sh/chart: {{ template "commons.chart" . }}
release: {{ .Release.Name }}
releaseRevision: {{ .Release.Revision | quote }}
heritage: {{ .Release.Service }}
spec:
serviceAccountName: {{ include "commons.fullname" . }}
containers:
Expand Down

0 comments on commit 0597dda

Please sign in to comment.