Skip to content

Commit

Permalink
added region
Browse files Browse the repository at this point in the history
  • Loading branch information
kostis-codefresh committed Mar 11, 2022
1 parent 8d9c9be commit bc37446
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 0 deletions.
6 changes: 6 additions & 0 deletions base/kustomization.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization

resources:
- deployment.yml
- service.yml
8 changes: 8 additions & 0 deletions variants/asia/kustomization.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization

resources:
- ../../base

patchesStrategicMerge:
- region.yml
14 changes: 14 additions & 0 deletions variants/asia/region.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: simple-deployment
spec:
template:
spec:
containers:
- name: webserver-simple
env:
- name: REGION
value: "asia"

0 comments on commit bc37446

Please sign in to comment.