Compare commits

...

3 Commits

Author SHA1 Message Date
Shakar
6bcdadb42d
Adds fleet.yaml
Signed-off-by: Shakar <5h4k4r.b4kr@gmail.com>
2023-04-06 10:35:00 +03:00
Shakar
779f061554
Add image name and pullPolicy patch to dev
Signed-off-by: Shakar <5h4k4r.b4kr@gmail.com>
2023-04-06 10:34:34 +03:00
Shakar
b11b725713
Uses lowercase for github action name
Signed-off-by: Shakar <5h4k4r.b4kr@gmail.com>
2023-04-06 10:34:00 +03:00
4 changed files with 26 additions and 1 deletions

View File

@ -32,7 +32,7 @@ jobs:
uses: actions/checkout@v3
- name: Kubectl tool installer
uses: Azure/setup-kubectl@v3
uses: azure/setup-kubectl@v3
- uses: azure/k8s-set-context@v3
with:

View File

@ -9,3 +9,6 @@ patches:
- path: patches/ingress-host.yaml
target:
kind: Ingress
- path: patches/deployment.yaml
target:
kind: Deployment

View File

@ -0,0 +1,6 @@
- op: replace
path: /spec/template/spec/containers/0/image
value: reg.dev.krd/dit-docs/dsm-client:dev
- op: add
path: /spec/template/spec/containers/0/imagePullPolicy
value: Always

16
kubernetes/fleet.yaml Normal file
View File

@ -0,0 +1,16 @@
namespace: dit-docs
targetCustomizations:
- name: development
clusterSelector:
matchLabels:
env: dev
kustomize:
dir: development
- name: production
clusterSelector:
matchLabels:
env: prod
kustomize:
dir: production