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

Helm Agones terraform module crds.CleanupOnDelete setting is missing agones prefix #2718

Closed
john-haven opened this issue Aug 25, 2022 · 3 comments · Fixed by #2723
Closed
Labels
kind/bug These are bugs.
Milestone

Comments

@john-haven
Copy link
Contributor

john-haven commented Aug 25, 2022

What happened:
When installing Agones in a cluster using the Helm terraform module, the crds.CleanupOnDelete setting is missing the agones prefix.

What you expected to happen:
The crds.CleanupOnDelete setting should have the agones prefix.

How to reproduce it (as minimally and precisely as possible):
n/a

Anything else we need to know?:
The offending line:
https://github.com/googleforgames/agones/blob/release-1.25.0/install/terraform/modules/helm3/helm.tf#L52
The docs correctly list the setting as agones.crds.cleanupOnDelete:
https://agones.dev/site/docs/installation/install-agones/helm/#configuration
And the helm chart itself uses the agones prefix for this setting:
https://github.com/googleforgames/agones/blob/release-1.25.0/install/helm/agones/templates/hooks/pre_delete_hook.yaml#L1

Environment:

  • Agones version: 1.25
  • Kubernetes version (use kubectl version): 1.22
  • Cloud provider or hardware configuration: GKE
  • Install method (yaml/helm): helm
  • Troubleshooting guide log(s): n/a
  • Others: n/a
@john-haven john-haven added the kind/bug These are bugs. label Aug 25, 2022
@roberthbailey
Copy link
Member

Great catch! Do you want to send a pull request to fix this bug?

@john-haven
Copy link
Contributor Author

Unfortunately I'm not currently able to contribute a PR as I need to get employer authorization first, but if/when that situation changes I would be happy to create a PR.

@roberthbailey
Copy link
Member

No worries. I've created a PR to fix this.

@SaitejaTamma SaitejaTamma added this to the 1.26.0 milestone Sep 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug These are bugs.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants