Code Review
/
it
/
otf.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
updated docker/helm files for svc,ping,robot,ssh, and o1
[it/otf.git]
/
smo-o1-vth
/
helm
/
o1-vth
/
templates
/
deployment.yaml
diff --git
a/smo-o1-vth/helm/o1-vth/templates/deployment.yaml
b/smo-o1-vth/helm/o1-vth/templates/deployment.yaml
index
f78b5c8
..
26a76cc
100644
(file)
--- a/
smo-o1-vth/helm/o1-vth/templates/deployment.yaml
+++ b/
smo-o1-vth/helm/o1-vth/templates/deployment.yaml
@@
-26,6
+26,10
@@
spec:
app: {{ .Values.appName}}
\r
version: {{.Values.version}}
\r
spec:
\r
app: {{ .Values.appName}}
\r
version: {{.Values.version}}
\r
spec:
\r
+ {{ if .Values.pullSecret }}
\r
+ imagePullSecrets:
\r
+ - name: {{ .Values.pullSecret }}
\r
+ {{ end }}
\r
serviceAccount: default
\r
volumes:
\r
- name: {{ .Values.appName}}-cert-volume
\r
serviceAccount: default
\r
volumes:
\r
- name: {{ .Values.appName}}-cert-volume
\r
@@
-44,7
+48,7
@@
spec:
ports:
\r
- name: http
\r
containerPort: 5000
\r
ports:
\r
- name: http
\r
containerPort: 5000
\r
- nodePort: {{.Values.nodePort}}
\r
+
#
nodePort: {{.Values.nodePort}}
\r
protocol: TCP
\r
env:
\r
- name: NAMESPACE
\r
protocol: TCP
\r
env:
\r
- name: NAMESPACE
\r
@@
-59,16
+63,16
@@
spec:
value: {{ .Values.HTTPS}}
\r
- name: BASE_URL
\r
value: {{ .Values.BASE_URL}}
\r
value: {{ .Values.HTTPS}}
\r
- name: BASE_URL
\r
value: {{ .Values.BASE_URL}}
\r
- - name: USER
\r
- valueFrom:
\r
- secretKeyRef:
\r
- name: {{ .Values.appName}}
\r
- key: username
\r
- - name: PW
\r
- valueFrom:
\r
- secretKeyRef:
\r
- name: {{ .Values.appName}}
\r
- key: password
\r
+
#
- name: USER
\r
+
#
valueFrom:
\r
+
#
secretKeyRef:
\r
+
#
name: {{ .Values.appName}}
\r
+
#
key: username
\r
+
#
- name: PW
\r
+
#
valueFrom:
\r
+
#
secretKeyRef:
\r
+
#
name: {{ .Values.appName}}
\r
+
#
key: password
\r
volumeMounts:
\r
- name: {{.Values.appName}}-cert-volume
\r
mountPath: /opt/cert
\r
volumeMounts:
\r
- name: {{.Values.appName}}-cert-volume
\r
mountPath: /opt/cert
\r