Currently im using Skaffold with helm, trying to deploy a cronjob. My helm template cronjob is with these configurations:
apiVersion: batch/v1beta1
...
imagePullSecrets:
- name: "{{ .Values.image.imagePullSecrets }}"
containers:
- image: "{{ .Values.image.repository }}"
imagePullPolicy: {{ .Values.image.imagePullPolicy }}
And in my values file, these are:
image:
repository: [MY_REPO_IMAGE]
imagepullPolicy: Always
When i tried with skaffold helm deploy, the "helm get all $MY_CRONJOB_HELM_PACKAGE" command has the newest image tag in the CronJob API resource for example 123456, but when I get the actual YAML output from Job & Cronjob from my cluster, it returns only the old tag version that is deployed from the first helm version ( not the newest tag version of image) Is there anyways to get it fixed? Thank you