Skip to content

feat(ske): add cni selection (calico or cilium) to cluster network - #1861

Open
madejusz wants to merge 1 commit into
stackitcloud:mainfrom
madejusz:feat/ske-cni
Open

madejusz wants to merge 1 commit into
stackitcloud:mainfrom
madejusz:feat/ske-cni

Conversation

@madejusz

Copy link
Copy Markdown

Description

Adds support for selecting the CNI of an SKE cluster via network.cni. Exactly one of calico or cilium can be set; the field is immutable (changing it forces a new cluster) and defaults to cilium.

network = {
  cni = {
    cilium = {} # or calico = {}
  }
}

Notes:

  • The SDK (ske v1.22.0) only models calico in CNI, so cilium is sent via AdditionalProperties.
  • Because the default is cilium, existing clusters running Calico need cni = { calico = {} } set explicitly to avoid a replacement.
  • The data source exposes network.cni as read-only.

relates to #1714

Checklist

  • Issue was linked above
  • Code format was applied: make fmt
  • Examples were added / adjusted (see examples/ directory)
  • Docs are up-to-date: make generate-docs (will be checked by CI)
  • Unit tests got implemented or updated
  • Acceptance tests got implemented or updated (see e.g. here)
  • Unit tests are passing: make test (will be checked by CI)
  • No linter issues: make lint (will be checked by CI)

Validation: go test ./stackit/internal/services/ske/... passed, gofmt -l and go vet ./stackit/internal/services/ske/... clean. Acceptance tests and make lint were not run.

@madejusz
madejusz requested a review from a team as a code owner October 28, 2026 14:11

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant