From e319824b4d31530e5e017ca44e93e6d44959a972 Mon Sep 17 00:00:00 2001 From: TJbredow <60492013+TJbredow@users.noreply.github.com> Date: Sat, 9 Jul 2022 00:35:53 -0400 Subject: [PATCH] Update to make "latest" default on Deployment Running CRI-O, the colon appended before the version being added would fail to pull the image. Added logic to account for that. --- src/stable/f5-bigip-ctlr/templates/f5-bigip-ctlr-deploy.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/stable/f5-bigip-ctlr/templates/f5-bigip-ctlr-deploy.yaml b/src/stable/f5-bigip-ctlr/templates/f5-bigip-ctlr-deploy.yaml index efce45d31..7c6c8837b 100644 --- a/src/stable/f5-bigip-ctlr/templates/f5-bigip-ctlr-deploy.yaml +++ b/src/stable/f5-bigip-ctlr/templates/f5-bigip-ctlr-deploy.yaml @@ -64,7 +64,11 @@ spec: {{- end }} containers: - name: {{ template "f5-bigip-ctlr.name" . }} + {{- if .Values.version }} image: "{{ .Values.image.user }}/{{ .Values.image.repo }}:{{ .Values.version }}" + {{- else }} + image: "{{ .Values.image.user }}/{{ .Values.image.repo}}" + {{- end }} livenessProbe: failureThreshold: 3 httpGet: