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

codegen: allow setting Strategy and PodSecurityContext #538

Merged
merged 8 commits into from
Apr 15, 2024

Conversation

samuelvl
Copy link
Contributor

@samuelvl samuelvl commented Apr 2, 2024

Description

Allow to define the following custom values in operator deployments:

  • deployment.spec.strategy
  • deployment.spec.template.spec.securityContext

Context

This is required to enable persistence in Redis, allowing the utilization of the Recreate strategy and setting the fsGroup field, which is only available at the pod-level security context.

@solo-changelog-bot
Copy link

Issues linked to changelog:
https://github.com/solo-io/gloo-mesh-enterprise/issues/15710

@samuelvl samuelvl changed the title codegen: allow setting PodSecurityContext codegen: allow setting Strategy and PodSecurityContext Apr 9, 2024
puertomontt
puertomontt previously approved these changes Apr 10, 2024
@soloio-bulldozer soloio-bulldozer bot merged commit c0952ff into main Apr 15, 2024
3 checks passed
@soloio-bulldozer soloio-bulldozer bot deleted the samuelvl/operator-pod-security-context branch April 15, 2024 18:02
samuelvl pushed a commit that referenced this pull request Apr 16, 2024
* codegen: allow setting PodSecurityContext

* allow to configure deployment strategy

* move changelog

* changelog

* remove dead code

* fix changelog
samuelvl pushed a commit that referenced this pull request Apr 16, 2024
* codegen: allow setting PodSecurityContext

* allow to configure deployment strategy

* move changelog

* changelog

* remove dead code

* fix changelog
samuelvl pushed a commit that referenced this pull request Apr 16, 2024
* codegen: allow setting Strategy and PodSecurityContext (#538)
samuelvl pushed a commit that referenced this pull request Apr 16, 2024
* codegen: allow setting Strategy and PodSecurityContext (#538)
samuelvl pushed a commit that referenced this pull request Apr 30, 2024
* codegen: allow setting PodSecurityContext

* allow to configure deployment strategy

* move changelog

* changelog

* remove dead code

* fix changelog
samuelvl pushed a commit that referenced this pull request Apr 30, 2024
…gy (#553)

* codegen: allow setting Strategy and PodSecurityContext (#538)

* codegen: support for conditional deployment strategy (#549)

* codegen: fix to prevent null strategy (#550)
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.

None yet

3 participants