-
Notifications
You must be signed in to change notification settings - Fork 37
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
Implement IPAM provider and include it in vsphere cluster templates. #1129
base: main
Are you sure you want to change the base?
Conversation
@@ -32,7 +32,8 @@ rootVolumeSize: 30 | |||
cpus: 2 | |||
memory: 4096 | |||
vmTemplate: "" | |||
network: "" | |||
network: |
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.
the change is backwards incompatible (in case it matters already, needs to be clarified)
@@ -1,3 +1,4 @@ | |||
{{- $ipamEnabled := .Values.controlPlane.network.ipam }} |
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.
all params should be explicitly defined in the chart values
@@ -140,7 +140,7 @@ | |||
"type": "string" | |||
}, | |||
"network": { | |||
"type": "string" | |||
"type": "object" |
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.
please be specific which options are supported
appVersion: "v1.0.0" | ||
annotations: | ||
cluster.x-k8s.io/provider: cluster-api-provider-ipam | ||
cluster.x-k8s.io/v1beta1: v1beta1 |
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.
they don't seem to have beta version yet
# It is recommended to use it with quotes. | ||
appVersion: "v1.0.0" | ||
annotations: | ||
cluster.x-k8s.io/provider: cluster-api-provider-ipam |
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.
it should be ipam-in-cluster
name: ipam | ||
spec: | ||
version: v1.0.0 | ||
fetchConfig: |
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 think with you won't need fetchConfig if you have a proper name for the provider, please check
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.
Please update versions of the charts (Chart.yaml)
This change resolves issue https://github.com/k0rdent/2a-internal/issues/7 by creating a new provider template for the CNCF cluster API IPAM provider (https://github.com/kubernetes-sigs/cluster-api-ipam-provider-in-cluster) and incorporating it into the vsphere standalone and hosted cluster templates.