1 #######################################################################################
2 # Copyright ETSI Contributors and Others.
4 # Licensed under the Apache License, Version 2.0 (the "License");
5 # you may not use this file except in compliance with the License.
6 # You may obtain a copy of the License at
8 # http://www.apache.org/licenses/LICENSE-2.0
10 # Unless required by applicable law or agreed to in writing, software
11 # distributed under the License is distributed on an "AS IS" BASIS,
12 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
14 # See the License for the specific language governing permissions and
15 # limitations under the License.
16 #######################################################################################
19 apiVersion: eks.aws.upbound.io/v1beta1
22 name: ${cluster_resource_name}-cluster
24 crossplane.io/external-name: ${cluster_name}
27 cluster: ${cluster_resource_name}
31 region: ${cluster_location}
32 version: ${k8s_version}
36 cluster: ${cluster_resource_name}
39 - endpointPrivateAccess: true
40 endpointPublicAccess: true
44 cluster: ${cluster_resource_name}
47 publishConnectionDetailsTo:
48 name: kubeconfig-${cluster_resource_name}
49 # Use in case you wanted to use different credentials (i.e., ProviderConfig different than default)
51 name: ${providerconfig_name}
54 apiVersion: eks.aws.upbound.io/v1beta1
57 name: ${cluster_resource_name}-clusterauth
60 region: ${cluster_location}
61 clusterName: ${cluster_name}
62 writeConnectionSecretToRef:
63 namespace: managed-resources
64 name: kubeconfig-${cluster_resource_name}
65 # Use in case you wanted to use different credentials (i.e., ProviderConfig different than default)
67 name: ${providerconfig_name}