Skip to content

Commit

Permalink
Move redundant pvc.yaml definition into base from overlay directories…
Browse files Browse the repository at this point in the history
…, change storage class.
  • Loading branch information
ropable committed Feb 9, 2024
1 parent 081c757 commit 67f28df
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 15 deletions.
1 change: 1 addition & 0 deletions kustomize/base/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@ apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- deployment.yaml
- pvc.yaml
- service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ kind: PersistentVolumeClaim
metadata:
name: mapproxy-cache
spec:
storageClassName: managed-csi-retain
storageClassName: managed-csi-premium
volumeMode: Filesystem
accessModes:
- ReadWriteOnce
Expand Down
1 change: 0 additions & 1 deletion kustomize/overlays/prod/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ resources:
- ../../base
- ingress.yaml
- pdb.yaml
- pvc.yaml
configMapGenerator:
- name: mapproxy-configmap
files:
Expand Down
1 change: 0 additions & 1 deletion kustomize/overlays/uat/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ resources:
- ../../base
- ingress.yaml
- pdb.yaml
- pvc.yaml
labels:
- includeSelectors: true
pairs:
Expand Down
12 changes: 0 additions & 12 deletions kustomize/overlays/uat/pvc.yaml

This file was deleted.

0 comments on commit 67f28df

Please sign in to comment.