This commit is contained in:
V 2025-12-06 23:12:48 +00:00
parent 3fdf119e94
commit dc4001f711
12 changed files with 22 additions and 8 deletions

View File

@ -0,0 +1,10 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
# Namespace is specified in each file in this case due to an issue with the RoleBinding
# namespace: monitoring
resources:
- grafana-auth-secret.yaml
- kube-prometheus-stack.yaml
- cm/
configurations:
- kustomizeconfig.yaml

View File

@ -5,9 +5,3 @@ kind: Kustomization
resources: resources:
- namespace.yaml - namespace.yaml
- rbac.yaml - rbac.yaml
- grafana-auth-secret.yaml
- kube-prometheus-stack.yaml
- metrics-server.yaml
- cm/
configurations:
- kustomizeconfig.yaml

View File

@ -0,0 +1,6 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
# Namespace is specified in each file in this case due to an issue with the RoleBinding
# namespace: monitoring
resources:
- metrics-server.yaml

View File

@ -2,6 +2,8 @@ apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization kind: Kustomization
resources: resources:
- ../base - ../base
- ../base/metrics-server
- ../base/kube-prometheus-stack
patches: patches:
- patch: | - patch: |
- op: replace - op: replace

View File

@ -1,7 +1,9 @@
apiVersion: kustomize.config.k8s.io/v1beta1 apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization kind: Kustomization
resources: [] resources:
# - ../base/ - ../base/
- ../base/metrics-server
# patches: # patches:
# - patch: | # - patch: |
# - op: replace # - op: replace