Skip to content

Commit

Permalink
add label app-component: ${NAME}
Browse files Browse the repository at this point in the history
  • Loading branch information
Vad1mo committed Sep 19, 2018
1 parent 4ea71c3 commit 3606d0a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions openshift_template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ objects:
name: ${NAME}
labels:
app: ${APP_NAME}
app-component: ${NAME}
spec:
ports:
- name: 8080-tcp
Expand All @@ -97,6 +98,7 @@ objects:
name: ${NAME}
labels:
app: ${APP_NAME}
app-component: ${NAME}
spec:
to:
kind: Service
Expand All @@ -110,6 +112,7 @@ objects:
name: ${NAME}
labels:
app: ${APP_NAME}
app-component: ${NAME}
spec:
replicas: 1
selector:
Expand All @@ -122,6 +125,7 @@ objects:
metadata:
labels:
app: ${APP_NAME}
app-component: ${NAME}
deploymentconfig: ${NAME}
spec:
containers:
Expand Down

0 comments on commit 3606d0a

Please sign in to comment.