Add Drone CI step to update kustomization.yaml newTag with commit SHA after image build, enabling ArgoCD to detect manifest changes and auto-deploy new images.
16 lines
257 B
YAML
16 lines
257 B
YAML
apiVersion: kustomize.config.k8s.io/v1beta1
|
|
kind: Kustomization
|
|
|
|
namespace: invest-api
|
|
|
|
resources:
|
|
- namespace.yaml
|
|
- secret.yaml
|
|
- deployment.yaml
|
|
- service.yaml
|
|
- ingress.yaml
|
|
|
|
images:
|
|
- name: 192.168.68.11:30500/invest-api
|
|
newTag: latest
|