From 0ce1a7fd26de9a9c0cf212e59b5ed71869a8df88 Mon Sep 17 00:00:00 2001 From: Danial Ebling Date: Wed, 3 Jul 2024 14:28:55 -0600 Subject: [PATCH] fix: remove unsupported lifecycle field from default initContainer --- charts/nautobot/templates/nautobot-deployment.yaml | 6 ------ 1 file changed, 6 deletions(-) diff --git a/charts/nautobot/templates/nautobot-deployment.yaml b/charts/nautobot/templates/nautobot-deployment.yaml index d500f026..01a8861b 100644 --- a/charts/nautobot/templates/nautobot-deployment.yaml +++ b/charts/nautobot/templates/nautobot-deployment.yaml @@ -68,9 +68,6 @@ spec: - name: nautobot-init image: {{ include "nautobot.image" $ }} imagePullPolicy: {{ $nautobot.image.pullPolicy }} - {{- if $nautobot.lifecycleHooks }} - lifecycle: {{- include "common.tplvalues.render" (dict "value" $nautobot.lifecycleHooks "context" $) | nindent 12 }} - {{- end }} {{- if $nautobot.containerSecurityContext.enabled }} securityContext: {{- omit $nautobot.containerSecurityContext "enabled" | toYaml | nindent 12 }} {{- end }} @@ -154,9 +151,6 @@ spec: - name: nautobot-certs image: {{ include "nautobot.image" $ }} imagePullPolicy: {{ $nautobot.image.pullPolicy }} - {{- if $nautobot.lifecycleHooks }} - lifecycle: {{- include "common.tplvalues.render" (dict "value" $nautobot.lifecycleHooks "context" $) | nindent 12 }} - {{- end }} command: - "/bin/bash" args: