Skip to content

Commit da9b27c

Browse files
committed
[chore]: migrate workflows to use kustomization
Summary: Add a kustomization config file, which can be used to change image versions with easy in the CI/CD run. This integrates perfectly with argocd.
1 parent 9a79430 commit da9b27c

File tree

8 files changed

+16
-2
lines changed

8 files changed

+16
-2
lines changed

0x3-logger/k8s/kustomization.yaml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
apiVersion: kustomize.config.k8s.io/v1beta1
2+
kind: Kustomization
3+
4+
resources:
5+
- manifest/read-write.deployment.v1.yaml
6+
7+
8+
images:
9+
- name: PROJECT/READER
10+
newName: akhonya/reader
11+
newTag: v1
12+
- name: PROJECT/WRITTER
13+
newName: akhonya/writter
14+
newTag: v1

release/k8s/deployment/read-write.deployment.v1.yaml renamed to 0x3-logger/k8s/manifest/read-write.deployment.v1.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,14 @@ spec:
1616
spec:
1717
containers:
1818
- name: writter
19-
image: akhonya/writter:v1
19+
image: PROJECT/WRITTER
2020
imagePullPolicy: IfNotPresent
2121
volumeMounts:
2222
- name: logs
2323
mountPath: /var/log/
2424

2525
- name: reader
26-
image: akhonya/reader:v1
26+
image: PROJECT/READER
2727
imagePullPolicy: IfNotPresent
2828
volumeMounts:
2929
- name: logs

0 commit comments

Comments
 (0)