Skip to content

Conversation

@scarlson
Copy link
Contributor

…port SSL auth schemas that require certs to be mounted

Thanks for submitting a PR! Please check the boxes below:

  • I have filled in the "Changes" section below?
  • I have filled in the "How did you test this code" section below?

Changes

Add api volume mounts to migratedb and bootstrap init containers to allow for SSL auth schemas in those containers.

How did you test this code?

Set volume mount values for properly mounting certs.
Rendered manifests with the changes and applied to test k8s cluster.

@scarlson scarlson requested a review from a team as a code owner July 24, 2025 15:55
@scarlson scarlson requested review from emyller and removed request for a team July 24, 2025 15:55
Copy link
Contributor

@matthewelwell matthewelwell left a comment

Choose a reason for hiding this comment

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

Thanks @scarlson for submitting this - it makes sense to add these attributes. I've added a minor question, and then we can get this merged.

Copy link
Contributor

@emyller emyller left a comment

Choose a reason for hiding this comment

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

Thanks for the contribution! I think it's a good idea overall to share volumes with essential containers.

I have only a few comments, can you please check?

imagePullPolicy: {{ .Values.api.image.imagePullPolicy | default .Values.global.image.imagePullPolicy }}
args: ["migrate"]
env: {{ include (print $.Template.BasePath "/_api_environment.yaml") . | nindent 8 }}
env: {{ include (print $.Template.BasePath "/_api_environment.yaml") . | nindent 8 -}}
Copy link
Contributor

Choose a reason for hiding this comment

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

I'm curious — did you find any issues that required chomping?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

required, no

env values in general have extra spacing from testing with helm template

Screenshot 2025-07-24 at 18 40 37

…port SSL auth methods that require certs to be mounted
@scarlson scarlson force-pushed the init-container-mounts branch from ca856c3 to e92dd0e Compare July 24, 2025 23:51
Copy link
Contributor

@emyller emyller left a comment

Choose a reason for hiding this comment

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

LGTM! Thanks again for the contribution @scarlson.

Copy link
Contributor

@matthewelwell matthewelwell left a comment

Choose a reason for hiding this comment

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

Approving this but we'll hold off merging until the CI issues are resolved as per the comment here.

@matthewelwell matthewelwell merged commit 738425e into Flagsmith:main Jul 25, 2025
1 check passed
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.

3 participants