edit dashboard deployment to allow for a staging deployment
This commit is contained in:
parent
645d4934f2
commit
0b80495eb2
7 changed files with 404 additions and 9 deletions
9
dashboard/overlays/prod/kustomization.yaml
Normal file
9
dashboard/overlays/prod/kustomization.yaml
Normal file
|
@ -0,0 +1,9 @@
|
|||
resources:
|
||||
- ../../base
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
images:
|
||||
- name: yolokube/dashboard
|
||||
newName: yolokube/dashboard
|
||||
newTag: "228"
|
||||
namespace: dashboard
|
24
dashboard/overlays/staging/kustomization.yaml
Normal file
24
dashboard/overlays/staging/kustomization.yaml
Normal file
|
@ -0,0 +1,24 @@
|
|||
resources:
|
||||
- ../../base
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
images:
|
||||
- name: yolokube/dashboard
|
||||
newName: yolokube/dashboard
|
||||
newTag: "228"
|
||||
namespace: dashboard-staging
|
||||
patches:
|
||||
- target:
|
||||
kind: Ingress
|
||||
name: dashboard-ingress
|
||||
patch: |-
|
||||
- op: replace
|
||||
path: /spec/rules/0/host
|
||||
value: "dashboard-staging.services.yolokube.de"
|
||||
- target:
|
||||
kind: Deployment
|
||||
name: dashboard-deployment
|
||||
patch: |-
|
||||
- op: replace
|
||||
path: /spec/replicas
|
||||
value: 1
|
Loading…
Add table
Add a link
Reference in a new issue