Skip to content

Commit

Permalink
Add back storageclass and azuredisk
Browse files Browse the repository at this point in the history
  • Loading branch information
Jont828 committed Dec 10, 2024
1 parent 782889c commit b03091a
Show file tree
Hide file tree
Showing 5 changed files with 46 additions and 0 deletions.
16 changes: 16 additions & 0 deletions templates/test/dev/cluster-template-custom-builds-load.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions templates/test/dev/custom-builds-load/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@ kind: Kustomization
namespace: default
resources:
- ../custom-builds
- storageclass-resource-set.yaml
patches:
- path: patches/cluster-label-storageclass.yaml
- path: patches/cluster-label-azuredisk.yaml
- path: patches/kcp-scheduler.yaml
generatorOptions:
annotations:
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
apiVersion: cluster.x-k8s.io/v1beta1
kind: Cluster
metadata:
name: ${CLUSTER_NAME}
labels:
azuredisk-csi: "true"
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
apiVersion: cluster.x-k8s.io/v1beta1
kind: Cluster
metadata:
name: ${CLUSTER_NAME}
labels:
storageclass: "true"
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
apiVersion: addons.cluster.x-k8s.io/v1beta1
kind: ClusterResourceSet
metadata:
name: ${CLUSTER_NAME}-storageclass
namespace: default
spec:
clusterSelector:
matchLabels:
storageclass: "true"
resources:
- kind: ConfigMap
name: cni-${CLUSTER_NAME}-storageclass
strategy: ApplyOnce

0 comments on commit b03091a

Please sign in to comment.