-
Notifications
You must be signed in to change notification settings - Fork 2
/
kustomization.yaml
50 lines (43 loc) · 1.18 KB
/
kustomization.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
bases:
- git@github.com:kube-platform/base?ref=v0.0.5
# extensions to the base deployments
- git@github.com:kube-platform/base-extras/argo?ref=v0.0.1
patchesStrategicMerge:
# changes external-dns arguments
- patches/external-dns-patch.yaml
# chages oauth2_proxy for using keycloak as oidc provider
- patches/oauth2-proxy-patch.yaml
# adds email
- cluster-issuer-patch.yaml
secretGenerator:
- name: external-dns-credentials
files:
- credentials.json=google-credentials.json
type: Opaque
- name: oauth2-proxy
env: oauth2-proxy.properties
type: Opaque
# sets the keycloak default admin password
- name: keycloak-http
literals:
- password=CtL5OxUHLe
type: Opaque
configMapGenerator:
- name: kubeplatform-config
env: kubeplatform.properties
###########################
# Kubernetes configuration
###########################
vars:
# using letsencrypt-staging for staging environment
- name: CLUSTER_ISSUER_NAME
objref:
kind: ClusterIssuer
name: letsencrypt-staging
apiVersion: cert-manager.io/v1alpha2
# setup namespace (must exist) and prefix, suffix
namePrefix: demo-
nameSuffix: -v1
namespace: kubeplatform