File tree Expand file tree Collapse file tree 1 file changed +1
-10
lines changed
Expand file tree Collapse file tree 1 file changed +1
-10
lines changed Original file line number Diff line number Diff line change @@ -2,10 +2,6 @@ apiVersion: template.openshift.io/v1
22kind : Template
33metadata :
44 name : ${NAME}
5- annotations :
6- description : " EPD Digital Services"
7- tags : " EPD"
8- iconClass : icon-js
95labels :
106 app : ${NAME}-${COMPONENT}
117 app.kubernetes.io/part-of : ${NAME}-${COMPONENT}
@@ -128,7 +124,7 @@ objects:
128124 name : ${REGISTRY}/${PROMOTE}:${IMAGE_TAG}
129125 referencePolicy :
130126 type : Local
131- - apiVersion : v1
127+ - apiVersion : apps/ v1
132128 kind : Deployment
133129 metadata :
134130 labels :
@@ -155,7 +151,6 @@ objects:
155151 metadata :
156152 labels :
157153 app : ${NAME}-${COMPONENT}
158- # deploymentconfig: ${NAME}-${COMPONENT}
159154 spec :
160155 containers :
161156 - image : " "
@@ -208,10 +203,8 @@ objects:
208203 initialDelaySeconds : 60
209204 periodSeconds : 30
210205 timeoutSeconds : 5
211- # Added for configMap mount
212206 volumeMounts :
213207 - name : ${NAME}-config
214- # readOnly: true
215208 mountPath : /usr/share/nginx/html/config/
216209 volumes :
217210 - name : ${NAME}-config
@@ -256,8 +249,6 @@ objects:
256249 scaleTargetRef :
257250 apiVersion : apps/v1
258251 kind : Deployment
259- metadata :
260- labels :
261252 name : " ${NAME}-${COMPONENT}"
262253 minReplicas : ${{MIN_REPLICAS}}
263254 maxReplicas : ${{MAX_REPLICAS}}
You can’t perform that action at this time.
0 commit comments