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

89 lines
2.2 KiB
YAML
Raw Normal View History

2020-05-01 22:08:35 +00:00
bases:
- ../../base/kubernetes-dashboard
- ../../base/gitea
2020-05-02 01:55:34 +00:00
- ../../base/nextcloud
2020-05-31 22:05:21 +00:00
- ../../base/grafana
2020-05-18 18:55:58 +00:00
- ../../base/monitoring
2020-05-01 22:08:35 +00:00
2020-05-16 02:19:37 +00:00
resources:
2020-05-17 02:17:14 +00:00
- cert-manager/clusterissuer.yaml
secretGenerator:
- name: digitalocean-api-key
type: Opaque
namespace: cert-manager
literals:
2020-05-18 18:55:58 +00:00
- access-token=${ssm:/prod/digitalocean/api_token}
2020-05-17 02:17:14 +00:00
# - name: drone-gitea-oauth-secret
# type: Opaque
# namespace: gitea
# behavior: replace
# literals:
# - client_id=749cde98-9b3b-4e19-8933-2937e12625f2
# - client_secret=12wTErChjQQW3CGEzbDMiSxEt08i-abeB0pbRbXEKKg=
2020-05-16 02:19:37 +00:00
patchesJson6902:
- target: &ingress_target
group: networking.k8s.io
version: v1beta1
kind: Ingress
2020-05-18 20:18:39 +00:00
name: kubernetes-dashboard
2020-05-17 02:17:14 +00:00
patch: |-
- op: replace
path: /spec/tls/0/hosts/0
value: kubernetes-dashboard.staging.badjware.dev
- op: replace
path: /spec/rules/0/host
value: kubernetes-dashboard.staging.badjware.dev
2020-05-18 18:55:58 +00:00
- target:
<<: *ingress_target
2020-05-18 20:18:39 +00:00
name: grafana
2020-05-18 18:55:58 +00:00
patch: |-
- op: replace
path: /spec/tls/0/hosts/0
value: grafana.staging.badjware.dev
- op: replace
path: /spec/rules/0/host
value: grafana.staging.badjware.dev
2020-05-17 02:17:14 +00:00
- target:
<<: *ingress_target
2020-05-18 20:18:39 +00:00
name: nextcloud
2020-05-16 02:19:37 +00:00
patch: |-
2020-05-17 02:17:14 +00:00
- op: replace
path: /spec/tls/0/hosts/0
value: nextcloud.staging.badjware.dev
2020-05-16 02:19:37 +00:00
- op: replace
path: /spec/rules/0/host
2020-05-17 02:17:14 +00:00
value: nextcloud.staging.badjware.dev
2020-05-16 02:19:37 +00:00
- target:
<<: *ingress_target
2020-05-18 20:18:39 +00:00
name: gitea
2020-05-16 02:19:37 +00:00
patch: |-
2020-05-17 02:17:14 +00:00
- op: replace
path: /spec/tls/0/hosts/0
value: gitea.staging.badjware.dev
2020-05-16 02:19:37 +00:00
- op: replace
path: /spec/rules/0/host
2020-05-17 02:17:14 +00:00
value: gitea.staging.badjware.dev
2020-05-16 02:19:37 +00:00
- target:
<<: *ingress_target
2020-05-18 20:18:39 +00:00
name: drone
2020-05-16 02:19:37 +00:00
patch: |-
2020-05-17 02:17:14 +00:00
- op: replace
path: /spec/tls/0/hosts/0
value: drone.staging.badjware.dev
2020-05-16 02:19:37 +00:00
- op: replace
path: /spec/rules/0/host
2020-05-17 02:17:14 +00:00
value: drone.staging.badjware.dev
2020-05-01 22:08:35 +00:00
# allow "kubectl apply -l managed-by=kustomize --prune ..."
commonlabels:
managed-by: kustomize
2020-05-16 02:19:37 +00:00
2020-05-17 02:17:14 +00:00
transformers:
- ssm-secrets.yaml
configurations:
2020-05-17 18:20:29 +00:00
- cert-manager/kustomizeconfig.yaml