2021-08-26 16:42:48 +00:00
|
|
|
bases:
|
|
|
|
- ../../namespaces/kubernetes-dashboard
|
|
|
|
- ../../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-08-26 16:42:48 +00:00
|
|
|
images:
|
|
|
|
- name: gitea/gitea
|
|
|
|
newtag: 1.15.0
|
|
|
|
- name: grafana
|
|
|
|
newtag: 8.1.2
|
2021-08-27 19:57:29 +00:00
|
|
|
- name: prom/node-exporter
|
|
|
|
newtag: v0.18.1
|
2021-08-26 16:42:48 +00:00
|
|
|
- name: drone/drone
|
|
|
|
newtag: 2.0.6
|
|
|
|
- name: drone/drone-runner-kube
|
|
|
|
newtag: 1.0.0-beta.9
|
2021-08-27 19:57:29 +00:00
|
|
|
- name: nextcloud
|
|
|
|
newtag: 22.1.0
|
|
|
|
- name: postgres
|
|
|
|
newtag: 9.6.23
|
2021-08-26 16:42:41 +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}
|
|
|
|
# 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-27 19:57:29 +00:00
|
|
|
- name: postgres-credentials-secret
|
|
|
|
type: Opaque
|
|
|
|
namespace: nextcloud
|
|
|
|
behavior: replace
|
|
|
|
literals:
|
|
|
|
- database=nextcloud
|
|
|
|
- username=nextcloud
|
|
|
|
- password=${ssm:/k3s/prod/nextcloud/postgres/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 ..."
|
|
|
|
commonlabels:
|
|
|
|
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-08-27 04:57:25 +00:00
|
|
|
# patchesJson6902:
|
|
|
|
# - target:
|
|
|
|
# version: v1
|
|
|
|
# kind: Deployment
|
|
|
|
# name: nextcloud
|
|
|
|
# path: patches/nextcloud-deployment-patch.yaml
|