Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion helm/charts/crossplane-gardener-shoot-clusters/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ icon: "https://avatars.githubusercontent.com/u/45158470?s=48&v=4"
# 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: 0.0.13
version: 0.0.14
# 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.
Expand Down
2 changes: 1 addition & 1 deletion helm/charts/crossplane-gardener-shoot-clusters/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# crossplane-gardener-shoot-clusters

![Version: 0.0.13](https://img.shields.io/badge/Version-0.0.13-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.10.0](https://img.shields.io/badge/AppVersion-0.10.0-informational?style=flat-square)
![Version: 0.0.14](https://img.shields.io/badge/Version-0.0.14-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.10.0](https://img.shields.io/badge/AppVersion-0.10.0-informational?style=flat-square)

A Helm chart to template crossplane manifests to manage Gardener Shoot resources.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ spec:
confirmation.gardener.cloud/deletion: "true" # otherwise it can't be destroyed using IAD
name: {{required "A valid Gardener Shoot Name is required! (.Values.shootClusters[].name)" $shootCluster.name}}
namespace: {{required "A valid Gardener Project Namespace is required! (.Values.shootClusters[].projectNamespace)" $shootCluster.projectNamespace}}

spec:
secretBindingName: {{required "A valid Secret Binding Name is required! (.Values.shootClusters[].secretBindingName)" $shootCluster.secretBindingName}} ## Set your SecretBinding name
cloudProfileName: aws
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,7 @@ spec:
annotations:
confirmation.gardener.cloud/deletion: "true" # otherwise it can't be destroyed using IAD
name: {{required "A valid Gardener Shoot Name is required! (.Values.shootClusters[].name)" $shootCluster.name}}
namespace: {{required "A valid Gardener Project Namespace is required! (.Values.shootClusters[]..projectNamespace)" $shootCluster.projectNamespace}}

namespace: {{required "A valid Gardener Project Namespace is required! (.Values.shootClusters[].projectNamespace)" $shootCluster.projectNamespace}}
spec:
secretBindingName: {{required "A valid Secret Binding Name is required! (.Values.shootClusters[]..secretBindingName)" $shootCluster.secretBindingName}} ## Set your SecretBinding name
cloudProfileName: az
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,7 @@ spec:
annotations:
confirmation.gardener.cloud/deletion: "true" # otherwise it can't be destroyed using IAD
name: {{required "A valid Gardener Shoot Name is required! (.Values.shootClusters[].name)" $shootCluster.name}}
namespace: {{required "A valid Gardener Project Namespace is required! (.Values.shootClusters[].projectNamespace)" $shootCluster.projectNamespace}}

namespace: {{required "A valid Gardener Project Namespace is required! (.Values.shootClusters[].projectNamespace)" $shootCluster.projectNamespace}}
spec:
secretBindingName: {{required "A valid Secret Binding Name is required! (.Values.shootClusters[].secretBindingName)" $shootCluster.secretBindingName}} # Set your SecretBinding name
cloudProfileName: gcp
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ spec:
name: {{ required "A valid value is required! (.Values.shootClusters[].gardenerOrchestrateCloudProviderConfigRefName)" $shootCluster.gardenerOrchestrateCloudProviderConfigRefName | quote}}
writeConnectionSecretToRef:
name: gardener-shoot-kubeconfig-{{required "A valid value is required! (.Values.shootClusters[].name)" $shootCluster.name}}
{{- if $shootCluster.adminKubeconfigRequest }}
namespace: {{ $shootCluster.adminKubeconfigRequest.secretNamespace | default "default" | quote }}
{{- else }}
namespace: default
{{- end }}
{{- end }}
{{- end }}
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@ shootClusters:
maintenance: {}
addons: {}
networking: {}
infrastructureConfig: {}
infrastructureConfig: {}
adminKubeconfigRequest:
secretNamespace: "test-namespace"
- name: "iad-test-gcp"
kubernetesCrossplaneProviderConfigRefName: "garden-co-golden"
gardenerOrchestrateCloudProviderConfigRefName: "garden-co-golden"
Expand Down
3 changes: 3 additions & 0 deletions helm/charts/crossplane-gardener-shoot-clusters/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -211,4 +211,7 @@ shootClusters:
extensions: []
# --
resources: []
# namespace of the secret from adminKubeconfigRequest:
adminKubeconfigRequest:
secretNamespace: ""
#########################################################################################################
Loading