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
updating otf-deployment process with more details
[it/otf.git]
/
otf-ping-test-head
/
helm
/
otf-ping-test-head
/
templates
/
deployment.yaml
diff --git
a/otf-ping-test-head/helm/otf-ping-test-head/templates/deployment.yaml
b/otf-ping-test-head/helm/otf-ping-test-head/templates/deployment.yaml
index
0a0455c
..
1081524
100644
(file)
--- a/
otf-ping-test-head/helm/otf-ping-test-head/templates/deployment.yaml
+++ b/
otf-ping-test-head/helm/otf-ping-test-head/templates/deployment.yaml
@@
-1,4
+1,4
@@
-apiVersion:
extensions/v1beta
1
\r
+apiVersion:
apps/v
1
\r
kind: Deployment
\r
metadata:
\r
name: {{ .Values.appName}}
\r
kind: Deployment
\r
metadata:
\r
name: {{ .Values.appName}}
\r
@@
-32,15
+32,15
@@
spec:
{{ end }}
\r
serviceAccount: default
\r
volumes:
\r
{{ end }}
\r
serviceAccount: default
\r
volumes:
\r
- - name: {{ .Values.appName}}-cert-volume
\r
- secret:
\r
- secretName: {{.Values.sharedCert}}
\r
- optional: true
\r
- items:
\r
- - key: PEM_CERT
\r
- path: otf.pem
\r
- - key: PEM_KEY
\r
- path: privateKey.pem
\r
+
#
- name: {{ .Values.appName}}-cert-volume
\r
+
#
secret:
\r
+
#
secretName: {{.Values.sharedCert}}
\r
+
#
optional: true
\r
+
#
items:
\r
+
#
- key: PEM_CERT
\r
+
#
path: otf.pem
\r
+
#
- key: PEM_KEY
\r
+
#
path: privateKey.pem
\r
{{ if or (eq .Values.env "st") (eq .Values.env "prod-dr")}}
\r
{{else}}
\r
- name: logging-pvc
\r
{{ if or (eq .Values.env "st") (eq .Values.env "prod-dr")}}
\r
{{else}}
\r
- name: logging-pvc
\r
@@
-85,8
+85,8
@@
spec:
- name: APP_VERSION
\r
value: {{.Values.version}}
\r
volumeMounts:
\r
- name: APP_VERSION
\r
value: {{.Values.version}}
\r
volumeMounts:
\r
- - name: {{.Values.appName}}-cert-volume
\r
- mountPath: /opt/cert
\r
+
#
- name: {{.Values.appName}}-cert-volume
\r
+
#
mountPath: /opt/cert
\r
{{ if or (eq .Values.env "st") (eq .Values.env "prod-dr")}}
\r
{{else}}
\r
- name: logging-pvc
\r
{{ if or (eq .Values.env "st") (eq .Values.env "prod-dr")}}
\r
{{else}}
\r
- name: logging-pvc
\r