1
0
Fork 0
home-stack-kustomize/kustomize/overlays/prod/kustomization.yaml

83 lines
2.0 KiB
YAML
Raw Normal View History

2021-08-26 16:42:48 +00:00
bases:
2021-09-06 23:45:09 +00:00
# - ../../namespaces/kubernetes-dashboard
2021-08-26 16:42:48 +00:00
- ../../namespaces/gitea
- ../../namespaces/grafana
- ../../namespaces/monitoring
2021-08-27 19:57:29 +00:00
- ../../namespaces/nextcloud
2021-08-26 16:42:41 +00:00
2021-09-06 23:45:09 +00:00
resources:
- probes/external-services-bobcat-miner.yaml
2021-08-26 16:42:48 +00:00
images:
- name: gitea/gitea
newTag: 1.15.7
- name: grafana/grafana
2022-01-20 23:38:37 +00:00
newTag: 8.3.4
2021-08-27 19:57:29 +00:00
- name: prom/node-exporter
2021-08-29 05:15:00 +00:00
newTag: v0.18.1
- name: prom/blackbox-exporter
newName: badjware/blackbox-exporter-tweak
newTag: 0.19.0-1
2021-08-26 16:42:48 +00:00
- name: drone/drone
newTag: 2.7.0
2021-08-26 16:42:48 +00:00
- name: drone/drone-runner-kube
newTag: 1.0.0-rc.2
2021-08-27 19:57:29 +00:00
- name: nextcloud
2021-08-29 05:15:00 +00:00
newName: badjware/nextcloud-tweak
2021-12-28 05:16:26 +00:00
newTag: 22.2.3-3
2021-08-27 19:57:29 +00:00
- name: postgres
2021-08-29 05:15:00 +00:00
newTag: 9.6.23
2021-08-28 03:54:21 +00:00
- name: redis
2021-08-29 05:15:00 +00:00
newTag: 6.2.5
2021-08-26 16:42:41 +00:00
2022-05-26 03:32:20 +00:00
configMapGenerator: []
2021-09-26 21:00:29 +00:00
2021-08-26 16:42:48 +00:00
secretGenerator:
- name: drone-secret
type: Opaque
namespace: gitea
behavior: replace
literals:
- rpc_secret=${ssm:/k3s/prod/drone/gitea/rpc_secret}
- database_secret=${ssm:/k3s/prod/drone/gitea/database_secret}
2021-08-26 16:42:48 +00:00
# https://docs.drone.io/server/provider/gitea/
- name: drone-gitea-oauth-secret
type: Opaque
namespace: gitea
behavior: replace
literals:
- client_id=${ssm:/k3s/prod/drone/gitea/client_id}
- client_secret=${ssm:/k3s/prod/drone/gitea/client_secret}
2021-08-28 03:54:21 +00:00
- name: postgres-credentials
2021-08-27 19:57:29 +00:00
type: Opaque
namespace: nextcloud
behavior: replace
literals:
- database=nextcloud
- username=nextcloud
- password=${ssm:/k3s/prod/nextcloud/postgres/password}
2021-08-28 03:54:21 +00:00
- name: redis-credentials
type: Opaque
namespace: nextcloud
behavior: replace
literals:
- password=${ssm:/k3s/prod/nextcloud/redis/password}
2021-08-26 16:42:41 +00:00
2021-08-26 16:42:48 +00:00
# allow "kubectl apply -l managed-by=kustomize --prune ..."
2021-09-26 21:00:29 +00:00
commonLabels:
2021-08-26 16:42:48 +00:00
managed-by: kustomize
2021-08-26 16:42:41 +00:00
2021-08-26 16:42:48 +00:00
transformers:
- transformers/placeholders.yaml
- transformers/ssm-secrets.yaml
2021-08-26 16:42:41 +00:00
2021-12-13 05:44:49 +00:00
patchesJson6902:
- target:
version: v1
kind: Deployment
name: nextcloud
path: patches/nextcloud-deployment-patch.yaml
2021-09-06 23:45:09 +00:00
# patchesStrategicMerge:
# - patches/blackbox-exporter-probe-patch.yaml