diff --git a/charts/crossplane-aws-upbound/Chart.yaml b/charts/crossplane-aws-upbound/Chart.yaml index 5402b83..274de70 100644 --- a/charts/crossplane-aws-upbound/Chart.yaml +++ b/charts/crossplane-aws-upbound/Chart.yaml @@ -15,10 +15,10 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 1.0.1 +version: 2.0.0 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to # follow Semantic Versioning. They should reflect the version the application is using. # It is recommended to use it with quotes. -appVersion: "1.0.0" +appVersion: "v0.47.1" diff --git a/charts/crossplane-aws-upbound/templates/provider-family.yaml b/charts/crossplane-aws-upbound/templates/provider-family.yaml index 5cf29b4..5b1f58f 100644 --- a/charts/crossplane-aws-upbound/templates/provider-family.yaml +++ b/charts/crossplane-aws-upbound/templates/provider-family.yaml @@ -1,12 +1,24 @@ -{{- if .Values.global.enabled_aws_upbound }} - +{{- if and .Values.global.enabled_aws_upbound .Values.provider.enabled }} +{{- with .Values.provider }} apiVersion: pkg.crossplane.io/v1 kind: Provider metadata: name: upbound-provider-family-aws annotations: argocd.argoproj.io/sync-wave: "2" + {{- range $key, $value := .metadata.annotations }} + {{ $key }}: {{ $value | quote }} + {{- end }} + + {{- if .metadata.labels }} + labels: + {{- range $key, $value := .metadata.labels }} + {{ $key }}: {{ $value | quote }} + {{- end }} + {{- end }} spec: - package: {{ $.Values.global.aws_upbound_registry }}/provider-family-aws:{{ $.Values.global.aws_upbound_version }} + package: {{ .package.registry }}/provider-family-aws:{{ .package.version }} + +{{- end }} {{- end }} \ No newline at end of file diff --git a/charts/crossplane-aws-upbound/templates/providers.yaml b/charts/crossplane-aws-upbound/templates/providers.yaml index b3ca1ed..7028680 100644 --- a/charts/crossplane-aws-upbound/templates/providers.yaml +++ b/charts/crossplane-aws-upbound/templates/providers.yaml @@ -1,4 +1,4 @@ -{{- if .Values.global.enabled_aws_upbound }} +{{- if and .Values.global.enabled_aws_upbound .Values.provider.enabled }} {{- range .Values.providers }} @@ -8,8 +8,18 @@ metadata: name: provider-aws-{{ . }} annotations: argocd.argoproj.io/sync-wave: "3" + {{- range $key, $value := $.Values.provider.metadata.annotations }} + {{ $key }}: {{ $value | quote }} + {{- end }} + + {{- if $.Values.provider.metadata.labels }} + labels: + {{- range $key, $value := $.Values.provider.metadata.labels }} + {{ $key }}: {{ $value | quote }} + {{- end }} + {{- end }} spec: - package: {{ $.Values.global.aws_upbound_registry }}/provider-aws-{{ . }}:{{ $.Values.global.aws_upbound_version }} + package: {{ $.Values.provider.package.registry }}/provider-aws-{{ . }}:{{ $.Values.provider.package.version }} runtimeConfigRef: apiVersion: pkg.crossplane.io/v1beta1 kind: DeploymentRuntimeConfig diff --git a/charts/crossplane-aws-upbound/templates/runtime-config.yaml b/charts/crossplane-aws-upbound/templates/runtime-config.yaml index f7fd798..c6b75b7 100644 --- a/charts/crossplane-aws-upbound/templates/runtime-config.yaml +++ b/charts/crossplane-aws-upbound/templates/runtime-config.yaml @@ -26,7 +26,7 @@ spec: {{- end }} {{- end }} annotations: - eks.amazonaws.com/role-arn: {{ default $.Values.global.iam_role_arn_aws_upbound .metadata.role_arn }} + eks.amazonaws.com/role-arn: "{{ .metadata.role_arn }}" {{- range $key, $value := .spec.serviceAccountTemplate.metadata.annotations }} {{ $key }}: {{ $value | quote }} {{- end }} diff --git a/charts/crossplane-aws-upbound/values.yaml b/charts/crossplane-aws-upbound/values.yaml index 0d2f521..460f5ed 100644 --- a/charts/crossplane-aws-upbound/values.yaml +++ b/charts/crossplane-aws-upbound/values.yaml @@ -1,14 +1,11 @@ global: - iam_role_arn_aws_upbound: null enabled_aws_upbound: true - aws_upbound_version: v0.46.0 - aws_upbound_registry: xpkg.upbound.io/upbound deploymentRuntimeConfig: enabled: true metadata: name: "upbound-aws-runtime-config" - iam_role_arn: null + role_arn: "" annotations: {} labels: {} spec: @@ -29,6 +26,15 @@ deploymentRuntimeConfig: labels: {} name: provider-aws +provider: + enabled: true + metadata: + annotations: {} + labels: {} + package: + registry: xpkg.upbound.io/upbound + version: v0.47.1 + providerConfig: enabled: true metadata: diff --git a/charts/crossplane-aws/Chart.yaml b/charts/crossplane-aws/Chart.yaml index 9322477..6e601e1 100644 --- a/charts/crossplane-aws/Chart.yaml +++ b/charts/crossplane-aws/Chart.yaml @@ -15,10 +15,10 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 1.0.0 +version: 2.0.0 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to # follow Semantic Versioning. They should reflect the version the application is using. # It is recommended to use it with quotes. -appVersion: "1.0.0" +appVersion: "v0.45.2" diff --git a/charts/crossplane-aws/templates/provider.yaml b/charts/crossplane-aws/templates/provider.yaml index 4656aa1..ed42365 100644 --- a/charts/crossplane-aws/templates/provider.yaml +++ b/charts/crossplane-aws/templates/provider.yaml @@ -17,7 +17,7 @@ metadata: {{- end }} {{- end }} spec: - package: {{ .package.registry }}:{{ default .package.version $.Values.global.aws_version }} + package: {{ .package.registry }}:{{ .package.version }} runtimeConfigRef: apiVersion: pkg.crossplane.io/v1beta1 kind: DeploymentRuntimeConfig diff --git a/charts/crossplane-aws/templates/runtime-config.yaml b/charts/crossplane-aws/templates/runtime-config.yaml index b04d6be..4bd64cb 100644 --- a/charts/crossplane-aws/templates/runtime-config.yaml +++ b/charts/crossplane-aws/templates/runtime-config.yaml @@ -26,7 +26,7 @@ spec: {{- end }} {{- end }} annotations: - eks.amazonaws.com/role-arn: {{ default $.Values.global.iam_role_arn_aws .metadata.role_arn }} + eks.amazonaws.com/role-arn: "{{ .metadata.role_arn }}" {{- range $key, $value := .spec.serviceAccountTemplate.metadata.annotations }} {{ $key }}: {{ $value | quote }} {{- end }} diff --git a/charts/crossplane-aws/values.yaml b/charts/crossplane-aws/values.yaml index 9853091..2d21824 100644 --- a/charts/crossplane-aws/values.yaml +++ b/charts/crossplane-aws/values.yaml @@ -1,11 +1,11 @@ global: - iam_role_arn_aws: null enabled_aws: true deploymentRuntimeConfig: enabled: true metadata: name: "aws-runtime-config" + role_arn: null annotations: {} labels: {} spec: @@ -30,7 +30,6 @@ provider: enabled: true metadata: name: "provider-aws" - iam_role_arn: null annotations: {} labels: {} package: diff --git a/charts/crossplane-helm/Chart.yaml b/charts/crossplane-helm/Chart.yaml index 13f5c21..defd143 100644 --- a/charts/crossplane-helm/Chart.yaml +++ b/charts/crossplane-helm/Chart.yaml @@ -15,10 +15,10 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 1.0.0 +version: 1.0.1 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to # follow Semantic Versioning. They should reflect the version the application is using. # It is recommended to use it with quotes. -appVersion: "1.0.0" +appVersion: "v0.16.0" diff --git a/charts/crossplane-kubernetes/Chart.yaml b/charts/crossplane-kubernetes/Chart.yaml index 3108ff4..ab2e427 100644 --- a/charts/crossplane-kubernetes/Chart.yaml +++ b/charts/crossplane-kubernetes/Chart.yaml @@ -15,10 +15,10 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 1.0.0 +version: 1.1.0 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to # follow Semantic Versioning. They should reflect the version the application is using. # It is recommended to use it with quotes. -appVersion: "1.0.0" +appVersion: "v0.10.0" diff --git a/charts/crossplane-kubernetes/values.yaml b/charts/crossplane-kubernetes/values.yaml index bc0effd..e7d0c6a 100644 --- a/charts/crossplane-kubernetes/values.yaml +++ b/charts/crossplane-kubernetes/values.yaml @@ -26,7 +26,7 @@ provider: labels: {} package: registry: xpkg.upbound.io/crossplane-contrib/provider-kubernetes - version: "v0.9.0" + version: "v0.10.0" providerConfig: enabled: true