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
|
2021-12-16 20:46:23 +00:00
|
|
|
newTag: 1.15.7
|
2021-09-11 03:30:38 +00:00
|
|
|
- name: grafana/grafana
|
2022-07-21 02:51:33 +00:00
|
|
|
newTag: 8.5.3
|
2021-08-27 19:57:29 +00:00
|
|
|
- name: prom/node-exporter
|
2021-08-29 05:15:00 +00:00
|
|
|
newTag: v0.18.1
|
2021-09-11 03:30:38 +00:00
|
|
|
- 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
|
2021-12-16 20:46:23 +00:00
|
|
|
newTag: 2.7.0
|
2021-08-26 16:42:48 +00:00
|
|
|
- name: drone/drone-runner-kube
|
2021-12-16 20:46:23 +00:00
|
|
|
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}
|
2021-09-02 04:00:42 +00:00
|
|
|
- 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}
|
2022-05-26 20:16:05 +00:00
|
|
|
- name: grafana-agent
|
|
|
|
namespace: monitoring
|
|
|
|
behavior: replace
|
|
|
|
files:
|
|
|
|
- agent.yaml=configurations/grafana-agent/agent.yaml
|
2022-05-26 17:14:50 +00:00
|
|
|
# - name: grafana-cloud-credentials
|
|
|
|
# type: Opaque
|
|
|
|
# namespace: monitoring
|
|
|
|
# behavior: replace
|
|
|
|
# literals:
|
|
|
|
# - username=${ssm:/k3s/prod/monitoring/grafana-cloud/username}
|
|
|
|
# - password=${ssm:/k3s/prod/monitoring/grafana-cloud/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
|
2022-05-26 17:14:50 +00:00
|
|
|
# - target:
|
|
|
|
# version: v1
|
|
|
|
# kind: Prometheus
|
|
|
|
# name: prometheus
|
|
|
|
# path: patches/prometheus-patch.yaml
|
2021-09-06 23:45:09 +00:00
|
|
|
|
|
|
|
# patchesStrategicMerge:
|
|
|
|
# - patches/blackbox-exporter-probe-patch.yaml
|