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 913fff9 commit da60843
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions charts/platform-registry/templates/deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@ kind: Deployment
metadata:
name: {{ include "platformRegistry.fullname" . }}
labels: {{ include "platformRegistry.labels.standard" . | nindent 4 }}
service: registry
service: platform-registry
spec:
replicas: {{ .Values.replicas }}
selector:
matchLabels:
app: {{ include "platformRegistry.name" . }}
release: {{ .Release.Name }}
service: registry
service: platform-registry
strategy:
rollingUpdate:
maxSurge: 1
Expand All @@ -21,7 +21,7 @@ spec:
labels:
app: {{ include "platformRegistry.name" . }}
release: {{ .Release.Name }}
service: registry
service: platform-registry
annotations:
{{- with .Values.annotations }}
{{ toYaml . | indent 8 }}
Expand All @@ -31,7 +31,7 @@ spec:
{{- end }}
spec:
containers:
- name: registry
- name: platform-registry
image: {{ .Values.image.repository }}:{{ .Values.image.tag }}
imagePullPolicy: Always
{{- if .Values.resources }}
Expand Down
2 changes: 1 addition & 1 deletion charts/platform-registry/templates/ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ kind: Ingress
metadata:
name: {{ include "platformRegistry.fullname" . }}
labels: {{ include "platformRegistry.labels.standard" . | nindent 4 }}
service: registry
service: platform-registry
annotations:
kubernetes.io/ingress.class: traefik
traefik.frontend.rule.type: PathPrefix
Expand Down
2 changes: 1 addition & 1 deletion charts/platform-registry/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 "platformRegistry.labels.standard" $ | nindent 4 }}
service: registry
service: platform-registry
type: Opaque
data:
{{- range $key, $value := .data }}
Expand Down
2 changes: 1 addition & 1 deletion charts/platform-registry/templates/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ kind: Service
metadata:
name: {{ include "platformRegistry.fullname" . }}
labels: {{ include "platformRegistry.labels.standard" . | nindent 4 }}
service: registry
service: platform-registry
annotations:
traefik.ingress.kubernetes.io/affinity: "true"
traefik.ingress.kubernetes.io/session-cookie-name: NEURO_REGISTRYAPI_SESSION
Expand Down
2 changes: 1 addition & 1 deletion tests/docker/registry/config.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
version: 0.1
log:
fields:
service: registry
service: platform-registry
storage:
cache:
blobdescriptor: inmemory
Expand Down

0 comments on commit da60843

Please sign in to comment.