1
0
Fork 0
home-stack-kustomize/kustomize/environment/dev/kustomization.yaml

49 lines
1.1 KiB
YAML

bases:
- ../../base/ingress-nginx
- ../../base/kubernetes-dashboard
- ../../base/gitea
- ../../base/nextcloud
resources:
- kubernetes-dashboard/ingress.yaml
patchesJson6902:
- target: &ingress_target
group: networking.k8s.io
version: v1beta1
kind: Ingress
name: nextcloud-ingress
patch: |-
- op: replace
path: /spec/rules/0/host
value: nextcloud.staging.massaki.ca
- target:
<<: *ingress_target
name: gitea-ingress
patch: |-
- op: replace
path: /spec/rules/0/host
value: gitea.staging.massaki.ca
- target:
<<: *ingress_target
name: drone-ingress
patch: |-
- op: replace
path: /spec/rules/0/host
value: drone.staging.massaki.ca
# secretGenerator:
# - name: drone-gitea-oauth-secret
# type: Opaque
# namespace: gitea
# behavior: replace
# literals:
# - client_id=749cde98-9b3b-4e19-8933-2937e12625f2
# - client_secret=12wTErChjQQW3CGEzbDMiSxEt08i-abeB0pbRbXEKKg=
# allow "kubectl apply -l managed-by=kustomize --prune ..."
commonlabels:
managed-by: kustomize
# transformers:
# - ssm-secrets.yaml