2022-09-23 23:11:09 +00:00
|
|
|
resources:
|
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
|
|
|
|
2022-08-28 22:29:06 +00:00
|
|
|
# resources:
|
|
|
|
# - probes/external-services-bobcat-miner.yaml
|
2021-09-06 23:45:09 +00:00
|
|
|
|
2021-08-26 16:42:48 +00:00
|
|
|
images:
|
|
|
|
- name: gitea/gitea
|
2022-08-28 22:29:06 +00:00
|
|
|
newTag: 1.16.9
|
2021-09-11 03:30:38 +00:00
|
|
|
- name: grafana/grafana
|
2022-10-20 03:56:34 +00:00
|
|
|
newTag: 9.2.1
|
2022-08-28 22:29:06 +00:00
|
|
|
# - name: prom/node-exporter
|
|
|
|
# newTag: v0.18.1
|
2021-09-11 03:30:38 +00:00
|
|
|
- name: prom/blackbox-exporter
|
|
|
|
newName: badjware/blackbox-exporter-tweak
|
2022-08-28 22:29:06 +00:00
|
|
|
newTag: 0.21.1
|
2021-08-26 16:42:48 +00:00
|
|
|
- name: drone/drone
|
2022-10-20 03:56:34 +00:00
|
|
|
newTag: 2.14.0
|
2021-08-26 16:42:48 +00:00
|
|
|
- name: drone/drone-runner-kube
|
2022-10-20 03:56:34 +00:00
|
|
|
newTag: 1.0.0-rc.3
|
2021-08-27 19:57:29 +00:00
|
|
|
- name: nextcloud
|
2021-08-29 05:15:00 +00:00
|
|
|
newName: badjware/nextcloud-tweak
|
2022-10-20 03:56:34 +00:00
|
|
|
newTag: 24.0.6
|
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
|
|
|
|
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-08-28 22:29:26 +00:00
|
|
|
- name: grafana-config
|
|
|
|
type: Opaque
|
|
|
|
namespace: grafana
|
|
|
|
behavior: replace
|
|
|
|
files:
|
|
|
|
- custom.ini=configurations/grafana/custom.ini
|
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}
|
2022-09-23 23:11:09 +00:00
|
|
|
- name: additional-scrape-configs
|
|
|
|
type: Opaque
|
|
|
|
namespace: monitoring
|
|
|
|
behavior: replace
|
|
|
|
files:
|
|
|
|
- prometheus-additional.yaml=configurations/prometheus/prometheus-additional.yaml
|
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
|