Skip to content
Snippets Groups Projects
Commit 935a0cb5 authored by garciadeblas's avatar garciadeblas
Browse files

Update crossplane-aws helm chart to fit to superchart parent values


Signed-off-by: default avatargarciadeblas <gerardo.garciadeblas@telefonica.com>
parent d93e9b35
No related branches found
No related tags found
No related merge requests found
Pipeline #13483 failed with stage
in 35 seconds
apiVersion: eks.aws.crossplane.io/v1beta1
kind: Cluster
metadata:
name: {{ .Chart.Name }}
name: {{ .Release.Name }}
labels:
provider: aws
cluster: eks
chart: {{ .Chart.Name }}
spec:
forProvider:
region: {{ .Values.region }}
version: "{{ .Values.version }}"
region: {{ .Values.global.cluster_location }}
version: {{ quote .Values.global.k8s_version }}
roleArnSelector:
matchLabels:
provider: aws
......@@ -21,11 +21,11 @@ spec:
endpointPublicAccess: true
subnetIdSelector:
matchLabels:
provider: aws
cluster: eks
chart: {{ .Chart.Name }}
type: subnet
access: private
provider: aws
cluster: eks
chart: {{ .Chart.Name }}
type: subnet
access: private
writeConnectionSecretToRef:
namespace: {{ .Release.Namespace }}
name: {{ .Chart.Name }}
\ No newline at end of file
name: kubeconfig-{{ .Release.Name }}
namespace: managed-resources
apiVersion: eks.aws.crossplane.io/v1alpha1
kind: NodeGroup
metadata:
name: {{ .Chart.Name }}
name: nodegroup-{{ .Release.Name }}
labels:
provider: aws
cluster: eks
chart: {{ .Chart.Name }}
spec:
forProvider:
region: {{ .Values.region }}
region: {{ .Values.global.cluster_location }}
clusterNameSelector:
matchLabels:
provider: aws
......@@ -25,13 +25,13 @@ spec:
type: subnet
access: private
scalingConfig:
minSize: {{ .Values.minSize }}
desiredSize: {{ .Values.minSize }}
maxSize: 4
# minSize: {{ .Values.global.node_count }}
desiredSize: {{ .Values.global.node_count }}
# maxSize: {{ .Values.global.node_count }}
diskSize: 30
instanceTypes:
- {{ .Values.instanceType }}
remoteAccess:
ec2SSHKey: {{ .Values.sshkey }}
- {{ .Values.global.node_size }}
# remoteAccess:
# ec2SSHKey: {{ .Values.sshkey }}
tags:
Name: {{ .Chart.Name }}
\ No newline at end of file
version: 1.27
region: aws_region
instanceType: aws_instance_type
minSize: 1
roles:
- name: eks
- name: ec2
......@@ -40,4 +36,4 @@ zones:
routetables:
- name: public
- name: private
sshkey: key_pair_name
\ No newline at end of file
# sshkey: key_pair_name
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment