Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removing hardcoded init container and defaults for values #11

Open
wants to merge 9 commits into
base: main
Choose a base branch
from

Conversation

arrowplum
Copy link
Contributor

No description provided.

@arrowplum arrowplum requested a review from davi17g January 17, 2025 17:29
@@ -37,8 +37,8 @@ spec:
{{- toYaml .Values.podSecurityContext | nindent 8 }}
initContainers:
- name: config-injector
image: davi17g/avs-init-container:3.0.0
imagePullPolicy: Always
image: "{{ .Values.initContainer.image.repository }}:{{ .Values.initContainer.image.tag | default .Chart.Version }}"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The main concert with this is if we:
helm install avs-app --values my-values.yaml and this my-values.yaml file contains:

initContainer:
   image:
     repository: other-container
     tag: ""  
     pullPolicy: IfNotPresent

our init-container will be overwriten by this new init container

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants