Skip to content

Commit af8d110

Browse files
authored
Merge pull request #2 from gitops-bridge-dev/update-crossplane-01-13
update-crossplane providers
2 parents 3034540 + c588a83 commit af8d110

File tree

12 files changed

+50
-23
lines changed

12 files changed

+50
-23
lines changed

charts/crossplane-aws-upbound/Chart.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ type: application
1515
# This is the chart version. This version number should be incremented each time you make changes
1616
# to the chart and its templates, including the app version.
1717
# Versions are expected to follow Semantic Versioning (https://semver.org/)
18-
version: 1.0.1
18+
version: 2.0.0
1919

2020
# This is the version number of the application being deployed. This version number should be
2121
# incremented each time you make changes to the application. Versions are not expected to
2222
# follow Semantic Versioning. They should reflect the version the application is using.
2323
# It is recommended to use it with quotes.
24-
appVersion: "1.0.0"
24+
appVersion: "v0.47.1"
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,24 @@
1-
{{- if .Values.global.enabled_aws_upbound }}
2-
1+
{{- if and .Values.global.enabled_aws_upbound .Values.provider.enabled }}
2+
{{- with .Values.provider }}
33
apiVersion: pkg.crossplane.io/v1
44
kind: Provider
55
metadata:
66
name: upbound-provider-family-aws
77
annotations:
88
argocd.argoproj.io/sync-wave: "2"
9+
{{- range $key, $value := .metadata.annotations }}
10+
{{ $key }}: {{ $value | quote }}
11+
{{- end }}
12+
13+
{{- if .metadata.labels }}
14+
labels:
15+
{{- range $key, $value := .metadata.labels }}
16+
{{ $key }}: {{ $value | quote }}
17+
{{- end }}
18+
{{- end }}
919
spec:
10-
package: {{ $.Values.global.aws_upbound_registry }}/provider-family-aws:{{ $.Values.global.aws_upbound_version }}
20+
package: {{ .package.registry }}/provider-family-aws:{{ .package.version }}
21+
1122

23+
{{- end }}
1224
{{- end }}

charts/crossplane-aws-upbound/templates/providers.yaml

+12-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{{- if .Values.global.enabled_aws_upbound }}
1+
{{- if and .Values.global.enabled_aws_upbound .Values.provider.enabled }}
22

33
{{- range .Values.providers }}
44

@@ -8,8 +8,18 @@ metadata:
88
name: provider-aws-{{ . }}
99
annotations:
1010
argocd.argoproj.io/sync-wave: "3"
11+
{{- range $key, $value := $.Values.provider.metadata.annotations }}
12+
{{ $key }}: {{ $value | quote }}
13+
{{- end }}
14+
15+
{{- if $.Values.provider.metadata.labels }}
16+
labels:
17+
{{- range $key, $value := $.Values.provider.metadata.labels }}
18+
{{ $key }}: {{ $value | quote }}
19+
{{- end }}
20+
{{- end }}
1121
spec:
12-
package: {{ $.Values.global.aws_upbound_registry }}/provider-aws-{{ . }}:{{ $.Values.global.aws_upbound_version }}
22+
package: {{ $.Values.provider.package.registry }}/provider-aws-{{ . }}:{{ $.Values.provider.package.version }}
1323
runtimeConfigRef:
1424
apiVersion: pkg.crossplane.io/v1beta1
1525
kind: DeploymentRuntimeConfig

charts/crossplane-aws-upbound/templates/runtime-config.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ spec:
2626
{{- end }}
2727
{{- end }}
2828
annotations:
29-
eks.amazonaws.com/role-arn: {{ default $.Values.global.iam_role_arn_aws_upbound .metadata.role_arn }}
29+
eks.amazonaws.com/role-arn: "{{ .metadata.role_arn }}"
3030
{{- range $key, $value := .spec.serviceAccountTemplate.metadata.annotations }}
3131
{{ $key }}: {{ $value | quote }}
3232
{{- end }}

charts/crossplane-aws-upbound/values.yaml

+10-4
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,11 @@
11
global:
2-
iam_role_arn_aws_upbound: null
32
enabled_aws_upbound: true
4-
aws_upbound_version: v0.46.0
5-
aws_upbound_registry: xpkg.upbound.io/upbound
63

74
deploymentRuntimeConfig:
85
enabled: true
96
metadata:
107
name: "upbound-aws-runtime-config"
11-
iam_role_arn: null
8+
role_arn: ""
129
annotations: {}
1310
labels: {}
1411
spec:
@@ -29,6 +26,15 @@ deploymentRuntimeConfig:
2926
labels: {}
3027
name: provider-aws
3128

29+
provider:
30+
enabled: true
31+
metadata:
32+
annotations: {}
33+
labels: {}
34+
package:
35+
registry: xpkg.upbound.io/upbound
36+
version: v0.47.1
37+
3238
providerConfig:
3339
enabled: true
3440
metadata:

charts/crossplane-aws/Chart.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ type: application
1515
# This is the chart version. This version number should be incremented each time you make changes
1616
# to the chart and its templates, including the app version.
1717
# Versions are expected to follow Semantic Versioning (https://semver.org/)
18-
version: 1.0.0
18+
version: 2.0.0
1919

2020
# This is the version number of the application being deployed. This version number should be
2121
# incremented each time you make changes to the application. Versions are not expected to
2222
# follow Semantic Versioning. They should reflect the version the application is using.
2323
# It is recommended to use it with quotes.
24-
appVersion: "1.0.0"
24+
appVersion: "v0.45.2"

charts/crossplane-aws/templates/provider.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ metadata:
1717
{{- end }}
1818
{{- end }}
1919
spec:
20-
package: {{ .package.registry }}:{{ default .package.version $.Values.global.aws_version }}
20+
package: {{ .package.registry }}:{{ .package.version }}
2121
runtimeConfigRef:
2222
apiVersion: pkg.crossplane.io/v1beta1
2323
kind: DeploymentRuntimeConfig

charts/crossplane-aws/templates/runtime-config.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ spec:
2626
{{- end }}
2727
{{- end }}
2828
annotations:
29-
eks.amazonaws.com/role-arn: {{ default $.Values.global.iam_role_arn_aws .metadata.role_arn }}
29+
eks.amazonaws.com/role-arn: "{{ .metadata.role_arn }}"
3030
{{- range $key, $value := .spec.serviceAccountTemplate.metadata.annotations }}
3131
{{ $key }}: {{ $value | quote }}
3232
{{- end }}

charts/crossplane-aws/values.yaml

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
global:
2-
iam_role_arn_aws: null
32
enabled_aws: true
43

54
deploymentRuntimeConfig:
65
enabled: true
76
metadata:
87
name: "aws-runtime-config"
8+
role_arn: null
99
annotations: {}
1010
labels: {}
1111
spec:
@@ -30,7 +30,6 @@ provider:
3030
enabled: true
3131
metadata:
3232
name: "provider-aws"
33-
iam_role_arn: null
3433
annotations: {}
3534
labels: {}
3635
package:

charts/crossplane-helm/Chart.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ type: application
1515
# This is the chart version. This version number should be incremented each time you make changes
1616
# to the chart and its templates, including the app version.
1717
# Versions are expected to follow Semantic Versioning (https://semver.org/)
18-
version: 1.0.0
18+
version: 1.0.1
1919

2020
# This is the version number of the application being deployed. This version number should be
2121
# incremented each time you make changes to the application. Versions are not expected to
2222
# follow Semantic Versioning. They should reflect the version the application is using.
2323
# It is recommended to use it with quotes.
24-
appVersion: "1.0.0"
24+
appVersion: "v0.16.0"

charts/crossplane-kubernetes/Chart.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ type: application
1515
# This is the chart version. This version number should be incremented each time you make changes
1616
# to the chart and its templates, including the app version.
1717
# Versions are expected to follow Semantic Versioning (https://semver.org/)
18-
version: 1.0.0
18+
version: 1.1.0
1919

2020
# This is the version number of the application being deployed. This version number should be
2121
# incremented each time you make changes to the application. Versions are not expected to
2222
# follow Semantic Versioning. They should reflect the version the application is using.
2323
# It is recommended to use it with quotes.
24-
appVersion: "1.0.0"
24+
appVersion: "v0.10.0"

charts/crossplane-kubernetes/values.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ provider:
2626
labels: {}
2727
package:
2828
registry: xpkg.upbound.io/crossplane-contrib/provider-kubernetes
29-
version: "v0.9.0"
29+
version: "v0.10.0"
3030

3131
providerConfig:
3232
enabled: true

0 commit comments

Comments
 (0)