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

Implement IPAM provider and include it in vsphere cluster templates. #1129

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

kylewuolle
Copy link
Contributor

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.

@@ -32,7 +32,8 @@ rootVolumeSize: 30
cpus: 2
memory: 4096
vmTemplate: ""
network: ""
network:
Copy link
Collaborator

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 }}
Copy link
Collaborator

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"
Copy link
Collaborator

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
Copy link
Collaborator

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
Copy link
Collaborator

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:
Copy link
Collaborator

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

Copy link
Collaborator

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

Successfully merging this pull request may close these issues.

2 participants