-
Notifications
You must be signed in to change notification settings - Fork 18
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 OpenStack provider support with configuration and templates #695
base: main
Are you sure you want to change the base?
Conversation
templates/provider/cluster-api-provider-openstack/values.schema.json
Outdated
Show resolved
Hide resolved
ff0b2d1
to
5b2932d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Weird imports should be removed (or moved to another PR).
Minor clarifications are needed.
@@ -0,0 +1,6 @@ | |||
configSecret: | |||
create: true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why do we need to create an empty config?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we are using config in secret.yaml. If this is not defined, helm template will throw an error. It also lets the users know what fields are available in values.yaml
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I mean you have empty .Values.config
by default and thus secret will be created with and empty data (which is weird). So if controller will work fine without the empty secret I suggest setting configSecret.create: false
and skip the creation of the secret
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, I did test it with the current way which is an empty config. But I will test this again to make sure it works and then make it false.
5b2932d
to
9870acf
Compare
@@ -0,0 +1,6 @@ | |||
configSecret: | |||
create: true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I mean you have empty .Values.config
by default and thus secret will be created with and empty data (which is weird). So if controller will work fine without the empty secret I suggest setting configSecret.create: false
and skip the creation of the secret
go.mod
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If imports aren't needed, dependencies in the go.mod/go.sum
aren't needed as well. Remove.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Still see them in the diff.
Signed-off-by: Bharath Nallapeta <[email protected]>
9870acf
to
6714435
Compare
Resolves #594.
OpenStack Provider Integration: