REFACTOR(goldilocks): use managedNamespaceMetad...
- Remove namespace.yaml files - Add managedNamespaceMetadata with Goldilocks label - Set CreateNamespace=true in syncOptions - Update kustomization.yaml to remove namespace.yaml references
This commit is contained in:
@@ -6,15 +6,15 @@ metadata:
|
||||
spec:
|
||||
project: default
|
||||
sources:
|
||||
- repoURL: https://grafana.github.io/helm-charts
|
||||
chart: loki
|
||||
targetRevision: 6.24.0
|
||||
helm:
|
||||
valueFiles:
|
||||
- $values/loki/helm-values.yaml
|
||||
- repoURL: https://gitea0213.kro.kr/bluemayne/monitoring.git
|
||||
targetRevision: HEAD
|
||||
ref: values
|
||||
- repoURL: https://grafana.github.io/helm-charts
|
||||
chart: loki
|
||||
targetRevision: 6.24.0
|
||||
helm:
|
||||
valueFiles:
|
||||
- $values/loki/helm-values.yaml
|
||||
- repoURL: https://gitea0213.kro.kr/bluemayne/monitoring.git
|
||||
targetRevision: HEAD
|
||||
ref: values
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: loki
|
||||
@@ -23,4 +23,7 @@ spec:
|
||||
prune: true
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
- CreateNamespace=true
|
||||
managedNamespaceMetadata:
|
||||
labels:
|
||||
goldilocks.fairwinds.com/enabled: 'true'
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
|
||||
resources:
|
||||
- namespace.yaml
|
||||
resources: []
|
||||
|
||||
@@ -1,6 +0,0 @@
|
||||
apiVersion: v1
|
||||
kind: Namespace
|
||||
metadata:
|
||||
name: loki
|
||||
labels:
|
||||
goldilocks.fairwinds.com/enabled: "true"
|
||||
Reference in New Issue
Block a user