github.com/verrazzano/verrazzano@v1.7.1/tests/e2e/clusterapi/capi/templates/ocnecontrolplanemoduledisabled.yaml (about)

     1  # Copyright (c) 2023, Oracle and/or its affiliates.
     2  # Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.
     3  
     4  
     5  apiVersion: controlplane.cluster.x-k8s.io/v1alpha1
     6  kind: OCNEControlPlane
     7  metadata:
     8    name: ${OCNE_CONTROL_PLANE_NAME}
     9    namespace: ${CLUSTER_NAMESPACE}
    10    labels:
    11      cluster.x-k8s.io/cluster-name: ${CLUSTER_NAME}
    12      topology.cluster.x-k8s.io/owned: ""
    13  spec:
    14    moduleOperator:
    15      enabled: false
    16    verrazzanoPlatformOperator:
    17      enabled: false
    18    controlPlaneConfig:
    19      clusterConfiguration:
    20        apiServer:
    21          certSANs:
    22            - localhost
    23            - 127.0.0.1
    24        dns:
    25          imageRepository: ${OCNE_IMAGE_REPOSITORY=container-registry.oracle.com}/${OCNE_IMAGE_PATH=olcne}
    26          imageTag: ${DNS_TAG=v1.9.3}
    27        etcd:
    28          local:
    29            imageRepository: ${OCNE_IMAGE_REPOSITORY=container-registry.oracle.com}/${OCNE_IMAGE_PATH=olcne}
    30            imageTag: ${ETCD_TAG=3.5.6}
    31        networking: {}
    32        scheduler: {}
    33        imageRepository: ${OCNE_IMAGE_REPOSITORY=container-registry.oracle.com}/${OCNE_IMAGE_PATH=olcne}
    34      initConfiguration:
    35        nodeRegistration:
    36          criSocket: /var/run/crio/crio.sock
    37          kubeletExtraArgs:
    38            cloud-provider: external
    39            provider-id: oci://{{ ds["id"] }}
    40      joinConfiguration:
    41        discovery: {}
    42        nodeRegistration:
    43          criSocket: /var/run/crio/crio.sock
    44          kubeletExtraArgs:
    45            cloud-provider: external
    46            provider-id: oci://{{ ds["id"] }}
    47    machineTemplate:
    48      infrastructureRef:
    49        apiVersion: infrastructure.cluster.x-k8s.io/v1beta2
    50        kind: OCIMachineTemplate
    51        name: ${OCI_MACHINE_TEMPLATE_NAME}
    52        namespace: ${CLUSTER_NAMESPACE}
    53      metadata:
    54        labels:
    55          cluster.x-k8s.io/cluster-name: ${CLUSTER_NAME}
    56          topology.cluster.x-k8s.io/owned: ""
    57    replicas: ${CONTROL_PLANE_MACHINE_COUNT=1}
    58    version: ${KUBERNETES_VERSION=v1.25.7}