File tree Expand file tree Collapse file tree 5 files changed +6
-17
lines changed Expand file tree Collapse file tree 5 files changed +6
-17
lines changed Original file line number Diff line number Diff line change @@ -235,7 +235,7 @@ artifacts: kustomize helm
235235 $(HELM ) package --version $(GIT_TAG ) --app-version $(GIT_TAG ) charts/jobset -d artifacts/
236236 mv artifacts/jobset-$(GIT_TAG ) .tgz artifacts/jobset-chart-$(GIT_TAG ) .tgz
237237 # Revert the image changes
238- $(YQ ) e ' .image.repository = "$(IMAGE_REGISTRY)/$(IMAGE_NAME)" | del( .image.tag) | .image.pullPolicy = "Always"' -i charts/jobset/values.yaml
238+ $(YQ ) e ' .image.repository = "$(IMAGE_REGISTRY)/$(IMAGE_NAME)" | .image.tag="main" | .image.pullPolicy = "Always"' -i charts/jobset/values.yaml
239239
240240GOLANGCI_LINT = $(PROJECT_DIR ) /bin/golangci-lint
241241.PHONY : golangci-lint
Original file line number Diff line number Diff line change @@ -60,11 +60,10 @@ See [helm uninstall](https://helm.sh/docs/helm/helm_uninstall) for command docum
6060| nameOverride | string | ` "" ` | String to partially override release name. |
6161| fullnameOverride | string | ` "" ` | String to fully override release name. |
6262| commonLabels | object | ` {} ` | Common labels to add to the jobset resources. |
63- | image.registry | string | ` "registry.k8s.io" ` | Image registry. |
64- | image.repository | string | ` "jobset/jobset" ` | Image repository. |
65- | image.tag | string | If not set, the chart version will be used. | Image tag. |
66- | image.pullPolicy | string | ` "IfNotPresent" ` | Image pull policy. |
63+ | image.repository | string | ` "us-central1-docker.pkg.dev/k8s-staging-images/jobset/jobset" ` | Image repository. |
64+ | image.pullPolicy | string | ` "Always" ` | Image pull policy. |
6765| image.pullSecrets | list | ` [] ` | Image pull secrets for private image registry. |
66+ | image.tag | string | ` "main" ` | |
6867| controller.replicas | int | ` 1 ` | Replicas of the jobset controller deployment. |
6968| controller.leaderElection.enable | bool | ` true ` | Whether to enable leader election for jobset controller. |
7069| controller.clientConnection.qps | int | ` 500 ` | QPS is the number of queries per second allowed for K8S api server connection. |
Original file line number Diff line number Diff line change @@ -66,10 +66,3 @@ Selector labels of the jobset resources.
6666app.kubernetes.io/name: { { include " jobset.name" . } }
6767app.kubernetes.io/instance: { { .Release.Name } }
6868{ {- end } }
69-
70- { {/*
71- Create the name of jobset image.
72- */} }
73- { {- define " jobset.image" -} }
74- { { printf " %s/%s:%s" .Values.image.registry .Values.image.repository (.Values.image.tag | default .Chart.Version) } }
75- { {- end -} }
Original file line number Diff line number Diff line change 3535 spec :
3636 containers :
3737 - name : controller
38- image : {{ include "jobset.controller .image" . }}
38+ image : " {{ .Values.image.repository }}:{{ .Values .image.tag | default .Chart.AppVersion }}"
3939 {{- with .Values.image.pullPolicy }}
4040 imagePullPolicy : {{ . }}
4141 {{- end }}
Original file line number Diff line number Diff line change @@ -22,16 +22,13 @@ fullnameOverride: ""
2222# -- Common labels to add to the jobset resources.
2323commonLabels : {}
2424image :
25- # -- Image registry.
26- registry : registry.k8s.io
2725 # -- Image repository.
28- repository : us-central1-docker.pkg.dev/k8s-staging-images/jobset/
26+ repository : us-central1-docker.pkg.dev/k8s-staging-images/jobset/jobset
2927 # -- Image pull policy.
3028 pullPolicy : Always
3129 # -- Image pull secrets for private image registry.
3230 pullSecrets : []
3331 # - name: <secret-name>
34-
3532 tag : main
3633controller :
3734 # -- Replicas of the jobset controller deployment.
You can’t perform that action at this time.
0 commit comments