Skip to content

Commit

Permalink
fix ingress url + update velero annot. + pvc ns
Browse files Browse the repository at this point in the history
  • Loading branch information
gorkemozlu committed Feb 3, 2022
1 parent e5e6dbf commit 9d9821f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
5 changes: 4 additions & 1 deletion yaml/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ metadata:
labels:
app: test-nodejs-app
name: nodejs-data
namespace: #@ data.values.namespace
annotations:
volume.beta.kubernetes.io/storage-class: #@ data.values.storageclass.name
spec:
Expand All @@ -27,6 +28,8 @@ spec:
replicas: 1
template:
metadata:
annotations:
backup.velero.io/backup-volumes: nodejs-data
labels:
app: test-nodejs-app
spec:
Expand Down Expand Up @@ -104,7 +107,7 @@ metadata:
kubernetes.io/ingress.class: contour
spec:
rules:
- host: #@ data.values.ingress.url+".tanzu.vmw.local"
- host: #@ data.values.ingress.url
http:
paths:
- pathType: Prefix
Expand Down
4 changes: 2 additions & 2 deletions yaml/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@ secret:
service_account:
name: test-app-sa
ingress:
url: test-nodejs-app
url: test-nodejs-app.highgarden.gorke.ml
storageclass:
name: tanzu
name: default

0 comments on commit 9d9821f

Please sign in to comment.