Skip to content

Commit

Permalink
Merge pull request #34 from europeana/EA-3790_fix_kustomize_deprecati…
Browse files Browse the repository at this point in the history
…on_warnings

EA-3790 fix kustomize deprecation warnings
  • Loading branch information
SrishtiSingh-eu authored Apr 8, 2024
2 parents d50c927 + d30b3dc commit 915a784
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 10 deletions.
3 changes: 3 additions & 0 deletions k8s/base/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization

resources:
- deployment.yaml

Expand Down
12 changes: 6 additions & 6 deletions k8s/overlays/cloud/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization

resources:
- ../../base
- service.yaml
- ingress.properties.yaml
- hpa.properties.yaml
- ../../base
- service.yaml
- ingress.properties.yaml
- hpa.properties.yaml

patchesStrategicMerge:
- deployment_patch.properties.yaml
patches:
- path: deployment_patch.properties.yaml

10 changes: 6 additions & 4 deletions k8s/overlays/dev/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,10 @@ resources:
- ../../base
- nodeport.yaml

patchesStrategicMerge:
- deployment_patch.yaml
patches:
- path: deployment_patch.yaml

commonLabels:
app: api-gateway-dev
labels:
- includeSelectors: true
pairs:
app: api-gateway-dev

0 comments on commit 915a784

Please sign in to comment.