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

Refactor naming of k8s resources created for a HumioCluster. #97

Merged
merged 1 commit into from
Jun 12, 2020

Conversation

SaaldjorMike
Copy link
Member

@SaaldjorMike SaaldjorMike commented Jun 11, 2020

This moves us one step closer to closing #92

This fixes the problems with resource name conflicts when handling
multiple HumioCluster resources in the same namespace.

This breaks the crc cluster things for now, because we cannot pre-populate the service account names in the users property in the SecurityContextConstraint resource, because service accounts are now named based on the CR names. I'm thinking we should just merge this anyway because #92 already contains a step to fix the SCC issues. Let me know if you think the SCC changes needs to be done in this PR, then I'll update it, if not, then I will take a look at this in a followup PR.

pkg/controller/humiocluster/defaults.go Outdated Show resolved Hide resolved
This fixes the problems with resource name conflicts when handling
multiple HumioCluster resources in the same namespace.
@SaaldjorMike SaaldjorMike force-pushed the mike/refactor_k8s_resource_naming branch from e0da2c9 to 256b839 Compare June 12, 2020 07:45
@SaaldjorMike SaaldjorMike merged commit 197172f into master Jun 12, 2020
@SaaldjorMike SaaldjorMike deleted the mike/refactor_k8s_resource_naming branch June 12, 2020 07:55
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