Skip to content

Commit 587d1f3

Browse files
committed
Rename created objects to follow unique naming convention
1 parent 464fcdc commit 587d1f3

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

templates/jlink/jlinked-app.yaml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -221,39 +221,39 @@ objects:
221221
- apiVersion: apps/v1
222222
kind: Deployment
223223
metadata:
224-
name: jlinked-app
224+
name: ${APPNAME}-jlinked-app
225225
spec:
226226
replicas: 1
227227
selector:
228228
matchLabels:
229-
app: jlinked-app
229+
app: ${APPNAME}-jlinked-app
230230
template:
231231
metadata:
232232
labels:
233-
app: jlinked-app
233+
app: ${APPNAME}-jlinked-app
234234
spec:
235235
containers:
236-
- name: jlinked-app-container
237-
image: lightweight-image:latest
236+
- name: ${APPNAME}-jlinked-app-container
237+
image: ${APPNAME}-lightweight-image:latest
238238
imagePullPolicy: IfNotPresent
239239
ports:
240240
- containerPort: 8080
241241
- apiVersion: v1
242242
kind: Service
243243
metadata:
244-
name: jlinked-app-service
244+
name: ${APPNAME}-jlinked-app-service
245245
spec:
246246
selector:
247-
app: jlinked-app
247+
app: ${APPNAME}-jlinked-app
248248
ports:
249249
- protocol: TCP
250250
port: 80
251251
targetPort: 8080
252252
- apiVersion: route.openshift.io/v1
253253
kind: Route
254254
metadata:
255-
name: jlinked-app-route
255+
name: ${APPNAME}-jlinked-app-route
256256
spec:
257257
to:
258258
kind: Service
259-
name: jlinked-app-service
259+
name: ${APPNAME}-jlinked-app-service

0 commit comments

Comments
 (0)