b3a027504c5063161837286da909dae085d53fbd
[osm/devops.git] /
1 #######################################################################################
2 # Copyright ETSI Contributors and Others.
3 #
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
7 #
8 #    http://www.apache.org/licenses/LICENSE-2.0
9 #
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
13 # implied.
14 # See the License for the specific language governing permissions and
15 # limitations under the License.
16 #######################################################################################
17
18 ---
19 apiVersion: eks.aws.upbound.io/v1beta1
20 kind: Addon
21 metadata:
22   name: ${cluster_resource_name}-cluster
23   annotations:
24     crossplane.io/external-name: ${cluster_resource_name}-ebs-csi-driver
25   labels:
26     provider: aws
27     cluster: ${cluster_resource_name}
28     type: addon
29 spec:
30   forProvider:
31     region: ${cluster_location}
32     addonName: aws-ebs-csi-driver
33     addonVersion: v1.33.0-eksbuild.1
34     resolveConflicts: OVERWRITE
35     clusterNameSelector:
36       matchLabels:
37         provider: aws
38         cluster: ${cluster_resource_name}
39         type: cluster
40     serviceAccountRoleArnSelector:
41       matchLabels:
42         provider: aws
43         cluster: ${cluster_resource_name}
44         type: cluster
45   providerConfigRef:
46     name: ${providerconfig_name}