Commit 935a0cb5 authored by garciadeblas's avatar garciadeblas
Browse files

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

parent d93e9b35
Loading
Loading
Loading
Loading
Loading
+10 −10
Original line number Diff line number Diff line
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
@@ -27,5 +27,5 @@ spec:
          type: subnet
          access: private
  writeConnectionSecretToRef:
      namespace: {{ .Release.Namespace }}
      name: {{ .Chart.Name }}
 No newline at end of file
    name: kubeconfig-{{ .Release.Name }}
    namespace: managed-resources
+8 −8
Original line number Diff line number Diff line
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
+1 −5
Original line number Diff line number Diff line
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