1
0
Fork 0

replace "bases" with "resources", add buildmetadata

This commit is contained in:
Massaki Archambault 2023-02-04 23:24:50 -05:00
parent e5a4272042
commit 17e553fce4
8 changed files with 24 additions and 18 deletions

View File

@ -1,8 +1,6 @@
bases:
resources:
- ../postgres
- ../redis
resources:
- nextcloud-deployment.yaml
- nextcloud-ingress.yaml

View File

@ -1,9 +1,7 @@
bases:
resources:
- namespace.yaml
- ../../bases/gitea
- ../../bases/drone-server
- ../../bases/drone-runner
resources:
- namespace.yaml
namespace: gitea

View File

@ -1,4 +1,4 @@
bases:
resources:
- ../../bases/traefik
- ../../bases/prometheus-operator

View File

@ -1,4 +1,4 @@
bases:
resources:
- ../../bases/kubernetes-dashboard
namespace: kubernetes-dashboard

View File

@ -1,4 +1,5 @@
bases:
resources:
- namespace.yaml
- ../../bases/prometheus
# - ../../bases/node-exporter
- ../../bases/blackbox-exporter
@ -14,7 +15,4 @@ bases:
# - servicemonitors/node-exporter.yaml
- probes/blackbox-exporter.yaml
resources:
- namespace.yaml
namespace: monitoring

View File

@ -1,7 +1,5 @@
bases:
- ../../bases/nextcloud
resources:
- namespace.yaml
- ../../bases/nextcloud
namespace: nextcloud

View File

@ -1,8 +1,11 @@
bases:
resources:
- ../../namespaces/kube-system
- ../../bases/longhorn
# allow "kubectl apply -l app.kubernetes.io/managed-by=cluster --prune ..."
buildMetadata:
- originAnnotations
- transformerAnnotations
commonLabels:
app.kubernetes.io/managed-by: kustomize-cluster
@ -10,6 +13,13 @@ transformers:
- transformers/placeholders.yaml
- transformers/ssm-secrets.yaml
configMapGenerator:
- name: cluster-replacements
namespace: default
literals:
- TRAEFIK_EXTERNAL_HOST=traefik.badjnet.home
- LONGHORN_EXTERNAL_HOST=longhorn.badjnet.home
secretGenerator:
- name: s3-backupstore-credentials
type: Opaque

View File

@ -7,6 +7,10 @@ resources:
# resources:
# - probes/external-services-bobcat-miner.yaml
buildMetadata:
- originAnnotations
- transformerAnnotations
images:
- name: gitea/gitea
newTag: 1.16.9