sigs.k8s.io/cluster-api-provider-azure@v1.14.3/test/e2e/data/infrastructure-azure/v1beta1/bases/crs.yaml (about)

     1  ---
     2  # ConfigMap object referenced by the ClusterResourceSet object and with
     3  # the CNI resource defined in the test config file
     4  apiVersion: v1
     5  kind: ConfigMap
     6  metadata:
     7    name: "cni-${CLUSTER_NAME}-crs-0"
     8  data: ${CNI_RESOURCES}
     9  binaryData:
    10  ---
    11  # ClusterResourceSet object with
    12  # a selector that targets all the Cluster with label cni=${CLUSTER_NAME}-crs-0
    13  apiVersion: addons.cluster.x-k8s.io/v1beta1
    14  kind: ClusterResourceSet
    15  metadata:
    16    name:  "${CLUSTER_NAME}-crs-0"
    17  spec:
    18    strategy: ApplyOnce
    19    clusterSelector:
    20      matchLabels:
    21        cni: "${CLUSTER_NAME}-crs-0"
    22    resources:
    23      - name: "cni-${CLUSTER_NAME}-crs-0"
    24        kind: ConfigMap