Skip to content

Commit

Permalink
rename label
Browse files Browse the repository at this point in the history
  • Loading branch information
zubenkoivan committed Nov 9, 2021
1 parent 3013da6 commit e675465
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions charts/platform-storage/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@ kind: Deployment
metadata:
name: {{ include "platformStorage.fullname" . }}
labels: {{ include "platformStorage.labels.standard" . | nindent 4 }}
service: storage
service: platform-storage
spec:
replicas: {{ .Values.replicas }}
selector:
matchLabels:
app: {{ include "platformStorage.name" . }}
release: {{ .Release.Name }}
service: storage
service: platform-storage
strategy:
rollingUpdate:
maxSurge: 1
Expand All @@ -21,14 +21,14 @@ spec:
labels:
app: {{ include "platformStorage.name" . }}
release: {{ .Release.Name }}
service: storage
service: platform-storage
{{- if .Values.secrets }}
annotations:
checksum/secret: {{ include (print $.Template.BasePath "/secrets.yaml") . | sha256sum }}
{{- end }}
spec:
containers:
- name: platformstorageapi
- name: platform-storage
image: {{ .Values.image.repository }}:{{ .Values.image.tag }}
imagePullPolicy: Always
livenessProbe:
Expand Down
2 changes: 1 addition & 1 deletion charts/platform-storage/templates/ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ kind: Ingress
metadata:
name: {{ include "platformStorage.fullname" . }}
labels: {{ include "platformStorage.labels.standard" . | nindent 4 }}
service: storage
service: platform-storage
annotations:
kubernetes.io/ingress.class: traefik
traefik.frontend.rule.type: PathPrefix
Expand Down
2 changes: 1 addition & 1 deletion charts/platform-storage/templates/secrets.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ kind: Secret
metadata:
name: {{ .name | quote }}
labels: {{ include "platformStorage.labels.standard" $ | nindent 4 }}
service: storage
service: platform-storage
type: Opaque
data:
{{- range $key, $value := .data }}
Expand Down
4 changes: 2 additions & 2 deletions charts/platform-storage/templates/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ kind: Service
metadata:
name: {{ include "platformStorage.fullname" . }}
labels: {{ include "platformStorage.labels.standard" . | nindent 4 }}
service: storage
service: platform-storage
annotations:
traefik.ingress.kubernetes.io/affinity: "true"
traefik.ingress.kubernetes.io/session-cookie-name: NEURO_STORAGEAPI_SESSION
Expand All @@ -16,4 +16,4 @@ spec:
selector:
app: {{ include "platformStorage.name" . }}
release: {{ .Release.Name }}
service: storage
service: platform-storage

0 comments on commit e675465

Please sign in to comment.