Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
vnf-onboarding
OSM Packages
Commits
42278fc0
Commit
42278fc0
authored
Dec 18, 2023
by
mishrau
Browse files
Pushing modified helm charts for crossplane AWS tested in AWS env, please review
parent
935a0cb5
Pipeline
#13527
failed with stage
in 50 seconds
Changes
7
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
30 additions
and
33 deletions
+30
-33
poc-osm-ltv/cluster_knf/helm-chart-v3s/supercluster/charts/crossplane-aws/templates/eks-cluster/eks-cluster.yaml
...rts/crossplane-aws/templates/eks-cluster/eks-cluster.yaml
+1
-1
poc-osm-ltv/cluster_knf/helm-chart-v3s/supercluster/charts/crossplane-aws/templates/eks-cluster/node-group.yaml
...arts/crossplane-aws/templates/eks-cluster/node-group.yaml
+2
-3
poc-osm-ltv/cluster_knf/helm-chart-v3s/supercluster/charts/crossplane-aws/templates/network/gateways.yaml
...ter/charts/crossplane-aws/templates/network/gateways.yaml
+10
-11
poc-osm-ltv/cluster_knf/helm-chart-v3s/supercluster/charts/crossplane-aws/templates/network/route-tables.yaml
...charts/crossplane-aws/templates/network/route-tables.yaml
+4
-4
poc-osm-ltv/cluster_knf/helm-chart-v3s/supercluster/charts/crossplane-aws/templates/network/subnet.yaml
...uster/charts/crossplane-aws/templates/network/subnet.yaml
+5
-5
poc-osm-ltv/cluster_knf/helm-chart-v3s/supercluster/charts/crossplane-aws/templates/network/vpc.yaml
...rcluster/charts/crossplane-aws/templates/network/vpc.yaml
+4
-4
poc-osm-ltv/cluster_knf/helm-chart-v3s/supercluster/values.yaml
...m-ltv/cluster_knf/helm-chart-v3s/supercluster/values.yaml
+4
-5
No files found.
poc-osm-ltv/cluster_knf/helm-chart-v3s/supercluster/charts/crossplane-aws/templates/eks-cluster/eks-cluster.yaml
View file @
42278fc0
...
...
@@ -28,4 +28,4 @@ spec:
access
:
private
writeConnectionSecretToRef
:
name
:
kubeconfig-{{ .Release.Name }}
namespace
:
managed-resources
namespace
:
crossplane-system
poc-osm-ltv/cluster_knf/helm-chart-v3s/supercluster/charts/crossplane-aws/templates/eks-cluster/node-group.yaml
View file @
42278fc0
---
apiVersion
:
eks.aws.crossplane.io/v1alpha1
kind
:
NodeGroup
metadata
:
name
:
nodegroup-{{ .Release.Name }}
name
:
nodegroup-{{ .Release.Name }}
-{{ .Values.global.resource_group }}
labels
:
provider
:
aws
cluster
:
eks
...
...
@@ -31,7 +32,5 @@ spec:
diskSize
:
30
instanceTypes
:
-
{{
.Values.global.node_size
}}
# remoteAccess:
# ec2SSHKey: {{ .Values.sshkey }}
tags
:
Name
:
{{
.Chart.Name
}}
\ No newline at end of file
poc-osm-ltv/cluster_knf/helm-chart-v3s/supercluster/charts/crossplane-aws/templates/network/gateways.yaml
View file @
42278fc0
...
...
@@ -2,7 +2,7 @@
apiVersion
:
ec2.aws.crossplane.io/v1beta1
kind
:
InternetGateway
metadata
:
name
:
{{
.
Chart
.Name
}}
name
:
{{
.
Release
.Name
}}
-igw
labels
:
provider
:
aws
cluster
:
eks
...
...
@@ -10,7 +10,7 @@ metadata:
type
:
igw
spec
:
forProvider
:
region
:
{{
.Values.
reg
ion
}}
region
:
{{
.Values.
global.cluster_locat
ion
}}
vpcIdSelector
:
matchLabels
:
provider
:
aws
...
...
@@ -18,14 +18,13 @@ spec:
chart
:
{{
.Chart.Name
}}
tags
:
-
key
:
Name
value
:
"
crossplane
-igw
"
value
:
{{
.Release.Name
}}
-igw
---
apiVersion
:
ec2.aws.crossplane.io/v1beta1
kind
:
Address
metadata
:
name
:
{{
.
Chart
.Name
}}
name
:
{{
.
Release
.Name
}}
-eip
labels
:
provider
:
aws
cluster
:
eks
...
...
@@ -33,17 +32,17 @@ metadata:
type
:
eip
spec
:
forProvider
:
region
:
{{
.Values.
reg
ion
}}
region
:
{{
.Values.
global.cluster_locat
ion
}}
domain
:
vpc
tags
:
-
key
:
Name
value
:
crossplane
-eip
value
:
{{
.Release.Name
}}
-eip
---
apiVersion
:
ec2.aws.crossplane.io/v1beta1
kind
:
NATGateway
metadata
:
name
:
{{
.
Chart
.Name
}}
name
:
{{
.
Release
.Name
}}
-natgw
labels
:
provider
:
aws
cluster
:
eks
...
...
@@ -51,7 +50,7 @@ metadata:
type
:
natgw
spec
:
forProvider
:
region
:
{{
.Values.
reg
ion
}}
region
:
{{
.Values.
global.cluster_locat
ion
}}
connectivityType
:
public
allocationIdSelector
:
matchLabels
:
...
...
@@ -65,8 +64,8 @@ spec:
provider
:
aws
cluster
:
eks
chart
:
{{
$root.Chart.Name
}}
zone
:
{{
$root.Values.
reg
ion
}}
a
zone
:
{{
$root.Values.
global.cluster_locat
ion
}}
a
access
:
public
tags
:
-
key
:
Name
value
:
nat-gateway
\ No newline at end of file
value
:
{{
.Release.Name
}}
-natgw
\ No newline at end of file
poc-osm-ltv/cluster_knf/helm-chart-v3s/supercluster/charts/crossplane-aws/templates/network/route-tables.yaml
View file @
42278fc0
...
...
@@ -3,14 +3,14 @@
apiVersion
:
ec2.aws.crossplane.io/v1beta1
kind
:
RouteTable
metadata
:
name
:
{{
.name
}}
-route-table
name
:
{{
$root.Release.Name
}}
-{{
.name }}-route-table
labels
:
provider
:
aws
cluster
:
eks
chart
:
{{
$root.Chart.Name
}}
spec
:
forProvider
:
region
:
"
ap-south-1"
region
:
{{
$root.Values.global.cluster_location
}}
vpcIdSelector
:
matchLabels
:
provider
:
aws
...
...
@@ -44,11 +44,11 @@ spec:
chart
:
{{
$root.Chart.Name
}}
type
:
subnet
access
:
{{
$zone.access
}}
zone
:
{{
$root.Values.
reg
ion
}}{{
$zone.zone
}}
zone
:
{{
$root.Values.
global.cluster_locat
ion
}}{{
$zone.zone
}}
{{
- end
}}
{{
- end
}}
tags
:
-
key
:
Name
value
:
"
crossplane
-{{
.name
}}route-table"
value
:
"
{{
$root.Release.Name
}}
-{{
.name
}}
-
route-table"
---
{{
- end
}}
poc-osm-ltv/cluster_knf/helm-chart-v3s/supercluster/charts/crossplane-aws/templates/network/subnet.yaml
View file @
42278fc0
...
...
@@ -4,18 +4,18 @@
apiVersion
:
ec2.aws.crossplane.io/v1beta1
kind
:
Subnet
metadata
:
name
:
{{
$root.
Chart
.Name
}}
-{{ .access }}-subnet-{{ $root.Values.
reg
ion }}{{ .zone }}
name
:
{{
$root.
Release
.Name
}}
-{{ .access }}-subnet-{{ $root.Values.
global.cluster_locat
ion }}{{ .zone }}
labels
:
type
:
subnet
provider
:
aws
cluster
:
eks
chart
:
{{
$root.Chart.Name
}}
zone
:
{{
$root.Values.
reg
ion
}}{{
.zone
}}
zone
:
{{
$root.Values.
global.cluster_locat
ion
}}{{
.zone
}}
access
:
{{
.access
}}
spec
:
forProvider
:
region
:
{{
$root.Values.
reg
ion
}}
availabilityZone
:
{{
$root.Values.
reg
ion
}}{{
.zone
}}
region
:
{{
$root.Values.
global.cluster_locat
ion
}}
availabilityZone
:
{{
$root.Values.
global.cluster_locat
ion
}}{{
.zone
}}
cidrBlock
:
{{
.cidr
}}
vpcIdSelector
:
matchLabels
:
...
...
@@ -27,7 +27,7 @@ spec:
-
key
:
kubernetes.io/role/elb
value
:
"
1"
-
key
:
Name
value
:
"
crossplane
-{{
.access
}}-subnet-{{
$root.Values.
reg
ion
}}{{
.zone
}}"
value
:
"
{{
$root.Release.Name
}}
-{{
.access
}}-subnet-{{
$root.Values.
global.cluster_locat
ion
}}{{
.zone
}}"
{{
- if eq .access "private"
}}
-
key
:
"
kubernetes.io/cluster/{{
$root.Chart.Name
}}"
value
:
"
shared"
...
...
poc-osm-ltv/cluster_knf/helm-chart-v3s/supercluster/charts/crossplane-aws/templates/network/vpc.yaml
View file @
42278fc0
{{
- $root
:
= . -
}}
---
apiVersion
:
ec2.aws.crossplane.io/v1beta1
kind
:
VPC
metadata
:
name
:
{{
$root.Chart
.Name
}}
name
:
{{
.Release
.Name
}}
-vpc
labels
:
provider
:
aws
cluster
:
eks
chart
:
{{
.Chart.Name
}}
spec
:
forProvider
:
region
:
{{
.Values.
reg
ion
}}
region
:
{{
.Values.
global.cluster_locat
ion
}}
cidrBlock
:
10.10.0.0/16
enableDnsHostNames
:
true
enableDnsSupport
:
true
tags
:
-
key
:
Name
value
:
crossplane
-vpc
value
:
{{
$root.Release.Name
}}
-vpc
poc-osm-ltv/cluster_knf/helm-chart-v3s/supercluster/values.yaml
View file @
42278fc0
...
...
@@ -4,10 +4,10 @@
global
:
node_count
:
1
#
k8s_version: "1.2
5
" # Optional
node_size
:
Standard_D2_v2
cluster_location
:
West Europe
resource_group
:
CloudNative-InfraMgmt
-CTIO
k8s_version
:
"
1.2
8
"
# Optional
node_size
:
t3.medium
cluster_location
:
ap-south-1
resource_group
:
CloudNative-InfraMgmt
crossplane-aws
:
enabled
:
false
...
...
@@ -20,4 +20,3 @@ crossplane-gcp:
openstack-capi-cluster
:
enabled
:
false
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment