Code Review
/
nonrtric.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Fix label and name reference in charts
[nonrtric.git]
/
sample-services
/
hello-world-sme-invoker
/
hello-world-sme-invoker
/
templates
/
deployment.yaml
diff --git
a/sample-services/hello-world-sme-invoker/hello-world-sme-invoker/templates/deployment.yaml
b/sample-services/hello-world-sme-invoker/hello-world-sme-invoker/templates/deployment.yaml
index
9a31fba
..
bbf621a
100644
(file)
--- a/
sample-services/hello-world-sme-invoker/hello-world-sme-invoker/templates/deployment.yaml
+++ b/
sample-services/hello-world-sme-invoker/hello-world-sme-invoker/templates/deployment.yaml
@@
-21,18
+21,16
@@
apiVersion: apps/v1
kind: Deployment
metadata:
apiVersion: apps/v1
kind: Deployment
metadata:
- name: {{ include "hello-world-sme-invoker.fullname" . }}
- labels:
- {{- include "hello-world-sme-invoker.labels" . | nindent 4 }}
+ name: hello-world-sme-invoker-deployment
spec:
replicas: {{ .Values.replicaCount }}
selector:
matchLabels:
spec:
replicas: {{ .Values.replicaCount }}
selector:
matchLabels:
- {{- include "hello-world-sme-invoker.selectorLabels" . | nindent 8 }}
+ app: hello-world-sme-invoker-container
template:
metadata:
labels:
template:
metadata:
labels:
- {{- include "hello-world-sme-invoker.selectorLabels" . | nindent 12 }}
+ app: hello-world-sme-invoker-container
spec:
containers:
- name: {{ .Chart.Name }}
spec:
containers:
- name: {{ .Chart.Name }}