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 - ../postgres
- ../redis - ../redis
resources:
- nextcloud-deployment.yaml - nextcloud-deployment.yaml
- nextcloud-ingress.yaml - nextcloud-ingress.yaml

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -1,8 +1,11 @@
bases: resources:
- ../../namespaces/kube-system - ../../namespaces/kube-system
- ../../bases/longhorn - ../../bases/longhorn
# allow "kubectl apply -l app.kubernetes.io/managed-by=cluster --prune ..." buildMetadata:
- originAnnotations
- transformerAnnotations
commonLabels: commonLabels:
app.kubernetes.io/managed-by: kustomize-cluster app.kubernetes.io/managed-by: kustomize-cluster
@ -10,6 +13,13 @@ transformers:
- transformers/placeholders.yaml - transformers/placeholders.yaml
- transformers/ssm-secrets.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: secretGenerator:
- name: s3-backupstore-credentials - name: s3-backupstore-credentials
type: Opaque type: Opaque

View File

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