Skip to content

Commit

Permalink
Final deployment template tweaks
Browse files Browse the repository at this point in the history
Signed-off-by: Emiliano Suñé <emiliano.sune@gmail.com>
  • Loading branch information
esune committed Apr 13, 2021
1 parent 7e75bf0 commit b29ef53
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions openshift/templates/ledger-browser/ledger-browser-deploy.yaml
Expand Up @@ -25,6 +25,7 @@ objects:
podSelector:
matchLabels:
app: ${NAME}
app-group: ${APP_GROUP}
env: ${TAG_NAME}
policyTypes:
- Ingress
Expand Down Expand Up @@ -75,7 +76,9 @@ objects:
port: 8080
targetPort: ${{PORT}}
selector:
name: ${NAME}
app: ${NAME}
app-group: ${APP_GROUP}
env: ${TAG_NAME}

- kind: Route
apiVersion: v1
Expand Down Expand Up @@ -123,12 +126,16 @@ objects:
- type: ConfigChange
replicas: 1
selector:
name: ${NAME}
app: ${NAME}
app-group: ${APP_GROUP}
env: ${TAG_NAME}
template:
metadata:
name: ${NAME}
labels:
name: ${NAME}
app: ${NAME}
app-group: ${APP_GROUP}
env: ${TAG_NAME}
spec:
volumes:
- name: ${NAME}
Expand Down

0 comments on commit b29ef53

Please sign in to comment.