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

Add arbitrary data field #190

Merged
merged 2 commits into from
Nov 16, 2023

Conversation

Danil-Grigorev
Copy link
Contributor

@Danil-Grigorev Danil-Grigorev commented Nov 2, 2023

What this PR does / why we need it:

Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #167

Special notes for your reviewer:

Checklist:

  • squashed commits into logical changes
  • includes documentation
  • adds unit tests
  • adds or updates e2e tests

@Danil-Grigorev Danil-Grigorev added the kind/feature New feature or request label Nov 2, 2023
@alexander-demicev
Copy link
Member

@Danil-Grigorev can you fix the CI?

@Danil-Grigorev
Copy link
Contributor Author

@Danil-Grigorev can you fix the CI?

Need to add tests on top as well, will update soon.

bootstrap/api/v1alpha1/rke2config_types.go Show resolved Hide resolved
bootstrap/api/v1alpha1/rke2config_types.go Show resolved Hide resolved
}

// Remove ignored fields from the map
for _, field := range ignoredCloudInitFields {
Copy link
Contributor

Choose a reason for hiding this comment

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

We should do this before we execute the template so that fields are removed before.

Signed-off-by: Danil Grigorev <danil.grigorev@suse.com>
Signed-off-by: Danil Grigorev <danil.grigorev@suse.com>
@Danil-Grigorev Danil-Grigorev merged commit 8af9975 into rancher:main Nov 16, 2023
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/feature New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

convert AdditionalUserData.Config field in CRD from string to dict
3 participants