standardize app name label
This commit is contained in:
parent
be4818bbb7
commit
848f1a545a
13 changed files with 70 additions and 19 deletions
|
@ -3,9 +3,12 @@
|
||||||
apiVersion: kustomize.toolkit.fluxcd.io/v1
|
apiVersion: kustomize.toolkit.fluxcd.io/v1
|
||||||
kind: Kustomization
|
kind: Kustomization
|
||||||
metadata:
|
metadata:
|
||||||
name: vault
|
name: &app vault
|
||||||
namespace: flux-system
|
namespace: flux-system
|
||||||
spec:
|
spec:
|
||||||
|
commonMetadata:
|
||||||
|
labels:
|
||||||
|
app.kubernetes.io/name: *app
|
||||||
interval: 1m
|
interval: 1m
|
||||||
path: "./kubernetes/apps/security/vault/app"
|
path: "./kubernetes/apps/security/vault/app"
|
||||||
prune: true
|
prune: true
|
||||||
|
|
|
@ -3,9 +3,12 @@
|
||||||
apiVersion: kustomize.toolkit.fluxcd.io/v1
|
apiVersion: kustomize.toolkit.fluxcd.io/v1
|
||||||
kind: Kustomization
|
kind: Kustomization
|
||||||
metadata:
|
metadata:
|
||||||
name: cert-manager
|
name: &app cert-manager
|
||||||
namespace: flux-system
|
namespace: flux-system
|
||||||
spec:
|
spec:
|
||||||
|
commonMetadata:
|
||||||
|
labels:
|
||||||
|
app.kubernetes.io/name: *app
|
||||||
interval: 10m
|
interval: 10m
|
||||||
path: "./kubernetes/apps/cert-manager/cert-manager/app"
|
path: "./kubernetes/apps/cert-manager/cert-manager/app"
|
||||||
prune: true
|
prune: true
|
||||||
|
@ -18,9 +21,12 @@ spec:
|
||||||
apiVersion: kustomize.toolkit.fluxcd.io/v1
|
apiVersion: kustomize.toolkit.fluxcd.io/v1
|
||||||
kind: Kustomization
|
kind: Kustomization
|
||||||
metadata:
|
metadata:
|
||||||
name: cert-manager-issuers
|
name: &app cert-manager-issuers
|
||||||
namespace: flux-system
|
namespace: flux-system
|
||||||
spec:
|
spec:
|
||||||
|
commonMetadata:
|
||||||
|
labels:
|
||||||
|
app.kubernetes.io/name: *app
|
||||||
interval: 10m
|
interval: 10m
|
||||||
path: "./kubernetes/apps/cert-manager/cert-manager/issuers"
|
path: "./kubernetes/apps/cert-manager/cert-manager/issuers"
|
||||||
prune: true
|
prune: true
|
||||||
|
|
|
@ -3,9 +3,12 @@
|
||||||
apiVersion: kustomize.toolkit.fluxcd.io/v1
|
apiVersion: kustomize.toolkit.fluxcd.io/v1
|
||||||
kind: Kustomization
|
kind: Kustomization
|
||||||
metadata:
|
metadata:
|
||||||
name: cert-manager-webhook-dnsimple
|
name: &app cert-manager-webhook-dnsimple
|
||||||
namespace: flux-system
|
namespace: flux-system
|
||||||
spec:
|
spec:
|
||||||
|
commonMetadata:
|
||||||
|
labels:
|
||||||
|
app.kubernetes.io/name: *app
|
||||||
targetNamespace: cert-manager
|
targetNamespace: cert-manager
|
||||||
interval: 10m
|
interval: 10m
|
||||||
path: "./kubernetes/apps/cert-manager/webhook-dnsimple/app"
|
path: "./kubernetes/apps/cert-manager/webhook-dnsimple/app"
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
---
|
---
|
||||||
# yaml-language-server: $schema=https://raw.githubusercontent.com/fluxcd-community/flux2-schemas/main/helmrepository-source-v1beta2.json
|
# yaml-language-server: $schema=https://raw.githubusercontent.com/fluxcd-community/flux2-schemas/main/helmrepository-source-v1.json
|
||||||
apiVersion: source.toolkit.fluxcd.io/v1
|
apiVersion: source.toolkit.fluxcd.io/v1
|
||||||
kind: HelmRepository
|
kind: HelmRepository
|
||||||
metadata:
|
metadata:
|
||||||
|
|
|
@ -3,11 +3,14 @@
|
||||||
apiVersion: kustomize.toolkit.fluxcd.io/v1
|
apiVersion: kustomize.toolkit.fluxcd.io/v1
|
||||||
kind: Kustomization
|
kind: Kustomization
|
||||||
metadata:
|
metadata:
|
||||||
name: flux-webhooks
|
name: &app flux-webhooks
|
||||||
namespace: flux-system
|
namespace: flux-system
|
||||||
labels:
|
labels:
|
||||||
substitution.flux.home.arpa/enabled: "true"
|
substitution.flux.home.arpa/enabled: "true"
|
||||||
spec:
|
spec:
|
||||||
|
commonMetadata:
|
||||||
|
labels:
|
||||||
|
app.kubernetes.io/name: *app
|
||||||
interval: 10m
|
interval: 10m
|
||||||
path: ./kubernetes/apps/flux-system/add-ons/webhooks
|
path: ./kubernetes/apps/flux-system/add-ons/webhooks
|
||||||
prune: true
|
prune: true
|
||||||
|
@ -20,11 +23,14 @@ spec:
|
||||||
apiVersion: kustomize.toolkit.fluxcd.io/v1
|
apiVersion: kustomize.toolkit.fluxcd.io/v1
|
||||||
kind: Kustomization
|
kind: Kustomization
|
||||||
metadata:
|
metadata:
|
||||||
name: flux-monitoring
|
name: &app flux-monitoring
|
||||||
namespace: flux-system
|
namespace: flux-system
|
||||||
labels:
|
labels:
|
||||||
substitution.flux.home.arpa/enabled: "true"
|
substitution.flux.home.arpa/enabled: "true"
|
||||||
spec:
|
spec:
|
||||||
|
commonMetadata:
|
||||||
|
labels:
|
||||||
|
app.kubernetes.io/name: *app
|
||||||
interval: 10m
|
interval: 10m
|
||||||
path: ./kubernetes/apps/flux-system/add-ons/monitoring
|
path: ./kubernetes/apps/flux-system/add-ons/monitoring
|
||||||
prune: true
|
prune: true
|
||||||
|
|
|
@ -3,11 +3,14 @@
|
||||||
apiVersion: kustomize.toolkit.fluxcd.io/v1
|
apiVersion: kustomize.toolkit.fluxcd.io/v1
|
||||||
kind: Kustomization
|
kind: Kustomization
|
||||||
metadata:
|
metadata:
|
||||||
name: metrics-server
|
name: &app metrics-server
|
||||||
namespace: flux-system
|
namespace: flux-system
|
||||||
labels:
|
labels:
|
||||||
substitution.flux.home.arpa/enabled: "true"
|
substitution.flux.home.arpa/enabled: "true"
|
||||||
spec:
|
spec:
|
||||||
|
commonMetadata:
|
||||||
|
labels:
|
||||||
|
app.kubernetes.io/name: *app
|
||||||
interval: 10m
|
interval: 10m
|
||||||
path: "./kubernetes/apps/kube-system/metrics-server/app"
|
path: "./kubernetes/apps/kube-system/metrics-server/app"
|
||||||
prune: true
|
prune: true
|
||||||
|
|
|
@ -3,11 +3,14 @@
|
||||||
apiVersion: kustomize.toolkit.fluxcd.io/v1
|
apiVersion: kustomize.toolkit.fluxcd.io/v1
|
||||||
kind: Kustomization
|
kind: Kustomization
|
||||||
metadata:
|
metadata:
|
||||||
name: nvidia-device-plugin
|
name: &app nvidia-device-plugin
|
||||||
namespace: flux-system
|
namespace: flux-system
|
||||||
labels:
|
labels:
|
||||||
substitution.flux.home.arpa/enabled: "true"
|
substitution.flux.home.arpa/enabled: "true"
|
||||||
spec:
|
spec:
|
||||||
|
commonMetadata:
|
||||||
|
labels:
|
||||||
|
app.kubernetes.io/name: *app
|
||||||
targetNamespace: kube-system
|
targetNamespace: kube-system
|
||||||
interval: 10m
|
interval: 10m
|
||||||
path: "./kubernetes/apps/kube-system/nvidia-device-plugin/app"
|
path: "./kubernetes/apps/kube-system/nvidia-device-plugin/app"
|
||||||
|
|
|
@ -3,11 +3,14 @@
|
||||||
apiVersion: kustomize.toolkit.fluxcd.io/v1
|
apiVersion: kustomize.toolkit.fluxcd.io/v1
|
||||||
kind: Kustomization
|
kind: Kustomization
|
||||||
metadata:
|
metadata:
|
||||||
name: reloader
|
name: &app reloader
|
||||||
namespace: flux-system
|
namespace: flux-system
|
||||||
labels:
|
labels:
|
||||||
substitution.flux.home.arpa/enabled: "true"
|
substitution.flux.home.arpa/enabled: "true"
|
||||||
spec:
|
spec:
|
||||||
|
commonMetadata:
|
||||||
|
labels:
|
||||||
|
app.kubernetes.io/name: *app
|
||||||
interval: 10m
|
interval: 10m
|
||||||
path: "./kubernetes/apps/kube-system/reloader/app"
|
path: "./kubernetes/apps/kube-system/reloader/app"
|
||||||
prune: true
|
prune: true
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
apiVersion: kustomize.toolkit.fluxcd.io/v1
|
apiVersion: kustomize.toolkit.fluxcd.io/v1
|
||||||
kind: Kustomization
|
kind: Kustomization
|
||||||
metadata:
|
metadata:
|
||||||
name: kyverno
|
name: &app kyverno
|
||||||
namespace: flux-system
|
namespace: flux-system
|
||||||
spec:
|
spec:
|
||||||
path: ./kubernetes/apps/kyverno/kyverno/app
|
path: ./kubernetes/apps/kyverno/kyverno/app
|
||||||
|
@ -19,9 +19,12 @@ spec:
|
||||||
apiVersion: kustomize.toolkit.fluxcd.io/v1
|
apiVersion: kustomize.toolkit.fluxcd.io/v1
|
||||||
kind: Kustomization
|
kind: Kustomization
|
||||||
metadata:
|
metadata:
|
||||||
name: cluster-policies
|
name: &app cluster-policies
|
||||||
namespace: flux-system
|
namespace: flux-system
|
||||||
spec:
|
spec:
|
||||||
|
commonMetadata:
|
||||||
|
labels:
|
||||||
|
app.kubernetes.io/name: *app
|
||||||
dependsOn:
|
dependsOn:
|
||||||
- name: kyverno
|
- name: kyverno
|
||||||
path: ./kubernetes/apps/kyverno/kyverno/policies
|
path: ./kubernetes/apps/kyverno/kyverno/policies
|
||||||
|
|
|
@ -3,11 +3,14 @@
|
||||||
apiVersion: kustomize.toolkit.fluxcd.io/v1
|
apiVersion: kustomize.toolkit.fluxcd.io/v1
|
||||||
kind: Kustomization
|
kind: Kustomization
|
||||||
metadata:
|
metadata:
|
||||||
name: echo-server
|
name: &app echo-server
|
||||||
namespace: flux-system
|
namespace: flux-system
|
||||||
labels:
|
labels:
|
||||||
substitution.flux.home.arpa/enabled: "true"
|
substitution.flux.home.arpa/enabled: "true"
|
||||||
spec:
|
spec:
|
||||||
|
commonMetadata:
|
||||||
|
labels:
|
||||||
|
app.kubernetes.io/name: *app
|
||||||
interval: 10m
|
interval: 10m
|
||||||
path: "./kubernetes/apps/network/echo-server/app"
|
path: "./kubernetes/apps/network/echo-server/app"
|
||||||
prune: true
|
prune: true
|
||||||
|
|
|
@ -3,11 +3,14 @@
|
||||||
apiVersion: kustomize.toolkit.fluxcd.io/v1
|
apiVersion: kustomize.toolkit.fluxcd.io/v1
|
||||||
kind: Kustomization
|
kind: Kustomization
|
||||||
metadata:
|
metadata:
|
||||||
name: externaldns-hsn-dev
|
name: &app externaldns-hsn-dev
|
||||||
namespace: flux-system
|
namespace: flux-system
|
||||||
labels:
|
labels:
|
||||||
substitution.flux.home.arpa/enabled: "true"
|
substitution.flux.home.arpa/enabled: "true"
|
||||||
spec:
|
spec:
|
||||||
|
commonMetadata:
|
||||||
|
labels:
|
||||||
|
app.kubernetes.io/name: *app
|
||||||
targetNamespace: network
|
targetNamespace: network
|
||||||
interval: 10m
|
interval: 10m
|
||||||
path: "./kubernetes/apps/network/external-dns/app/hsn-dev"
|
path: "./kubernetes/apps/network/external-dns/app/hsn-dev"
|
||||||
|
@ -23,11 +26,14 @@ spec:
|
||||||
apiVersion: kustomize.toolkit.fluxcd.io/v1
|
apiVersion: kustomize.toolkit.fluxcd.io/v1
|
||||||
kind: Kustomization
|
kind: Kustomization
|
||||||
metadata:
|
metadata:
|
||||||
name: externaldns-jahanson-tech
|
name: &app externaldns-jahanson-tech
|
||||||
namespace: flux-system
|
namespace: flux-system
|
||||||
labels:
|
labels:
|
||||||
substitution.flux.home.arpa/enabled: "true"
|
substitution.flux.home.arpa/enabled: "true"
|
||||||
spec:
|
spec:
|
||||||
|
commonMetadata:
|
||||||
|
labels:
|
||||||
|
app.kubernetes.io/name: *app
|
||||||
targetNamespace: network
|
targetNamespace: network
|
||||||
interval: 10m
|
interval: 10m
|
||||||
path: "./kubernetes/apps/network/external-dns/app/jahanson-tech"
|
path: "./kubernetes/apps/network/external-dns/app/jahanson-tech"
|
||||||
|
|
|
@ -3,11 +3,14 @@
|
||||||
apiVersion: kustomize.toolkit.fluxcd.io/v1
|
apiVersion: kustomize.toolkit.fluxcd.io/v1
|
||||||
kind: Kustomization
|
kind: Kustomization
|
||||||
metadata:
|
metadata:
|
||||||
name: ingress-nginx-external
|
name: &app ingress-nginx-external
|
||||||
namespace: flux-system
|
namespace: flux-system
|
||||||
labels:
|
labels:
|
||||||
substitution.flux.home.arpa/enabled: "true"
|
substitution.flux.home.arpa/enabled: "true"
|
||||||
spec:
|
spec:
|
||||||
|
commonMetadata:
|
||||||
|
labels:
|
||||||
|
app.kubernetes.io/name: *app
|
||||||
interval: 10m
|
interval: 10m
|
||||||
path: "./kubernetes/apps/network/ingress-nginx/external"
|
path: "./kubernetes/apps/network/ingress-nginx/external"
|
||||||
prune: true
|
prune: true
|
||||||
|
@ -22,11 +25,14 @@ spec:
|
||||||
apiVersion: kustomize.toolkit.fluxcd.io/v1
|
apiVersion: kustomize.toolkit.fluxcd.io/v1
|
||||||
kind: Kustomization
|
kind: Kustomization
|
||||||
metadata:
|
metadata:
|
||||||
name: ingress-nginx-internal
|
name: &app ingress-nginx-internal
|
||||||
namespace: flux-system
|
namespace: flux-system
|
||||||
labels:
|
labels:
|
||||||
substitution.flux.home.arpa/enabled: "true"
|
substitution.flux.home.arpa/enabled: "true"
|
||||||
spec:
|
spec:
|
||||||
|
commonMetadata:
|
||||||
|
labels:
|
||||||
|
app.kubernetes.io/name: *app
|
||||||
interval: 10m
|
interval: 10m
|
||||||
path: "./kubernetes/apps/network/ingress-nginx/internal"
|
path: "./kubernetes/apps/network/ingress-nginx/internal"
|
||||||
prune: true
|
prune: true
|
||||||
|
|
|
@ -3,9 +3,12 @@
|
||||||
apiVersion: kustomize.toolkit.fluxcd.io/v1
|
apiVersion: kustomize.toolkit.fluxcd.io/v1
|
||||||
kind: Kustomization
|
kind: Kustomization
|
||||||
metadata:
|
metadata:
|
||||||
name: external-secrets
|
name: &app external-secrets
|
||||||
namespace: flux-system
|
namespace: flux-system
|
||||||
spec:
|
spec:
|
||||||
|
commonMetadata:
|
||||||
|
labels:
|
||||||
|
app.kubernetes.io/name: *app
|
||||||
interval: 10m
|
interval: 10m
|
||||||
path: "./kubernetes/apps/security/external-secrets/app"
|
path: "./kubernetes/apps/security/external-secrets/app"
|
||||||
prune: true
|
prune: true
|
||||||
|
@ -18,9 +21,12 @@ spec:
|
||||||
apiVersion: kustomize.toolkit.fluxcd.io/v1
|
apiVersion: kustomize.toolkit.fluxcd.io/v1
|
||||||
kind: Kustomization
|
kind: Kustomization
|
||||||
metadata:
|
metadata:
|
||||||
name: external-secrets-stores
|
name: &app external-secrets-stores
|
||||||
namespace: flux-system
|
namespace: flux-system
|
||||||
spec:
|
spec:
|
||||||
|
commonMetadata:
|
||||||
|
labels:
|
||||||
|
app.kubernetes.io/name: *app
|
||||||
interval: 10m
|
interval: 10m
|
||||||
path: "./kubernetes/apps/security/external-secrets/stores"
|
path: "./kubernetes/apps/security/external-secrets/stores"
|
||||||
prune: true
|
prune: true
|
||||||
|
|
Loading…
Reference in a new issue