Skip to content

Commit

Permalink
Fixed kustomization specs to recent specs
Browse files Browse the repository at this point in the history
  • Loading branch information
saidsef committed Nov 15, 2023
1 parent 8937aa6 commit 9fb3d01
Show file tree
Hide file tree
Showing 6 changed files with 26 additions and 22 deletions.
9 changes: 5 additions & 4 deletions deployment/grafana/kustomization.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
---
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization

commonLabels:
app.kubernetes.io/name: grafana
app.kubernetes.io/created-by: kustomizer

resources:
- grafana-cm.yml
- deployment.yml
- service.yml
labels:
- includeSelectors: true
pairs:
app.kubernetes.io/created-by: kustomizer
app.kubernetes.io/name: grafana
3 changes: 1 addition & 2 deletions deployment/kustomization.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
---
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization

Expand All @@ -10,7 +9,7 @@ commonAnnotations:
pod-security.kubernetes.io/audit: baseline
pod-security.kubernetes.io/warn-version: latest

bases:
resources:
- grafana/
- loki/
- prometheus/
Expand Down
9 changes: 5 additions & 4 deletions deployment/loki/kustomization.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
---
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization

commonLabels:
app.kubernetes.io/name: loki
app.kubernetes.io/created-by: kustomizer

resources:
- loki-cm.yml
- service.yml
- statefulset.yml
labels:
- includeSelectors: true
pairs:
app.kubernetes.io/created-by: kustomizer
app.kubernetes.io/name: loki
9 changes: 5 additions & 4 deletions deployment/prometheus/kustomization.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
---
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization

commonLabels:
app.kubernetes.io/name: prometheus
app.kubernetes.io/created-by: kustomizer

resources:
- prometheus-cm.yml
Expand All @@ -13,3 +9,8 @@ resources:
- rbac.yml
- service.yml
- secret.yml
labels:
- includeSelectors: true
pairs:
app.kubernetes.io/created-by: kustomizer
app.kubernetes.io/name: prometheus
9 changes: 5 additions & 4 deletions deployment/promtail/kustomization.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
---
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization

commonLabels:
app.kubernetes.io/name: promtail
app.kubernetes.io/created-by: kustomizer

resources:
- account.yml
- daemonset.yml
- promtail-cm.yml
- rbac.yml
labels:
- includeSelectors: true
pairs:
app.kubernetes.io/created-by: kustomizer
app.kubernetes.io/name: promtail
9 changes: 5 additions & 4 deletions deployment/tempo/kustomization.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
---
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization

commonLabels:
app.kubernetes.io/name: tempo
app.kubernetes.io/created-by: kustomizer

resources:
- account.yml
- tempo-cm.yml
- service.yml
- statefulset.yml
labels:
- includeSelectors: true
pairs:
app.kubernetes.io/created-by: kustomizer
app.kubernetes.io/name: tempo

0 comments on commit 9fb3d01

Please sign in to comment.