Add production deployment
This commit is contained in:
@@ -1,7 +1,9 @@
|
||||
---
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
|
||||
namespace: dit-docs
|
||||
namePrefix: dsm-client-
|
||||
|
||||
commonLabels:
|
||||
app: dsm-client
|
||||
|
||||
@@ -2,9 +2,6 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
|
||||
namespace: dit-docs
|
||||
namePrefix: dsm-client-
|
||||
|
||||
resources:
|
||||
- ../base
|
||||
|
||||
|
||||
11
kubernetes/production/kustomization.yaml
Normal file
11
kubernetes/production/kustomization.yaml
Normal file
@@ -0,0 +1,11 @@
|
||||
---
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
|
||||
resources:
|
||||
- ../base
|
||||
|
||||
patches:
|
||||
- path: patches/ingress-host.yaml
|
||||
target:
|
||||
kind: Ingress
|
||||
9
kubernetes/production/patches/ingress-host.yaml
Normal file
9
kubernetes/production/patches/ingress-host.yaml
Normal file
@@ -0,0 +1,9 @@
|
||||
- op: add
|
||||
path: /spec/rules/0/host
|
||||
value: docs.digital.gov.krd
|
||||
- op: add
|
||||
path: /spec/tls
|
||||
value:
|
||||
- hosts:
|
||||
- docs.digital.gov.krd
|
||||
secretName: ingress-cert-dit-docs-dsm-client
|
||||
Reference in New Issue
Block a user