Skip to content

Instantly share code, notes, and snippets.

@sadysnaat
Created January 4, 2025 18:42
Show Gist options
  • Save sadysnaat/3c4f25129df36b3e14b5dfef7271e9de to your computer and use it in GitHub Desktop.
Save sadysnaat/3c4f25129df36b3e14b5dfef7271e9de to your computer and use it in GitHub Desktop.
ClusterClass With ClusterClassVariable Example
apiVersion: cluster.x-k8s.io/v1beta1
kind: ClusterClass
metadata:
name: docker-clusterclass-v0.1.0
spec:
...
variables:
- name: dnsImageRespository
required: true
schema:
openAPIV3Schema:
type: string
description: ImageRepository is the container registry to pull images from.
default: registry.k8s.io
example: registry.k8s.io
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment