-
Notifications
You must be signed in to change notification settings - Fork 83
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adjustments for charts and code to deploy extension by gardener-opera…
…tor (#901) * Adjustments for charts and code to deploy extension by gardener-operator * address review feedback from provider-aws
- Loading branch information
1 parent
2f15fb8
commit 36135bf
Showing
28 changed files
with
260 additions
and
144 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
charts/gardener-extension-admission-openstack/charts/application/Chart.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
apiVersion: v1 | ||
description: A Helm chart to deploy the gardener-extension-admission-openstack application related resources | ||
name: application | ||
name: admission-openstack-application | ||
version: 0.1.0 |
1 change: 0 additions & 1 deletion
1
charts/gardener-extension-admission-openstack/charts/application/templates/_helpers.tpl
This file was deleted.
Oops, something went wrong.
15 changes: 15 additions & 0 deletions
15
charts/gardener-extension-admission-openstack/charts/application/templates/_helpers.tpl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
{{- define "name" -}} | ||
gardener-extension-admission-openstack | ||
{{- end -}} | ||
|
||
{{- define "labels.app.key" -}} | ||
app.kubernetes.io/name | ||
{{- end -}} | ||
{{- define "labels.app.value" -}} | ||
{{ include "name" . }} | ||
{{- end -}} | ||
|
||
{{- define "labels" -}} | ||
{{ include "labels.app.key" . }}: {{ include "labels.app.value" . }} | ||
app.kubernetes.io/instance: {{ .Release.Name }} | ||
{{- end -}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...s/gardener-extension-admission-openstack/charts/application/templates/serviceaccount.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 0 additions & 1 deletion
1
charts/gardener-extension-admission-openstack/charts/application/values.yaml
This file was deleted.
Oops, something went wrong.
5 changes: 5 additions & 0 deletions
5
charts/gardener-extension-admission-openstack/charts/application/values.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
gardener: | ||
virtualCluster: | ||
serviceAccount: {} | ||
# name: extension-admission-provider-openstack | ||
# namespace: kube-system |
21 changes: 21 additions & 0 deletions
21
charts/gardener-extension-admission-openstack/charts/runtime/.helmignore
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# Patterns to ignore when building packages. | ||
# This supports shell glob matching, relative path matching, and | ||
# negation (prefixed with !). Only one pattern per line. | ||
.DS_Store | ||
# Common VCS dirs | ||
.git/ | ||
.gitignore | ||
.bzr/ | ||
.bzrignore | ||
.hg/ | ||
.hgignore | ||
.svn/ | ||
# Common backup files | ||
*.swp | ||
*.bak | ||
*.tmp | ||
*~ | ||
# Various IDEs | ||
.project | ||
.idea/ | ||
*.tmproj |
2 changes: 1 addition & 1 deletion
2
charts/gardener-extension-admission-openstack/charts/runtime/Chart.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
apiVersion: v1 | ||
description: A Helm chart to deploy the gardener-extension-admission-openstack runtime related resources | ||
name: runtime | ||
name: admission-openstack-runtime | ||
version: 0.1.0 |
1 change: 0 additions & 1 deletion
1
charts/gardener-extension-admission-openstack/charts/runtime/templates/_helpers.tpl
This file was deleted.
Oops, something went wrong.
27 changes: 27 additions & 0 deletions
27
charts/gardener-extension-admission-openstack/charts/runtime/templates/_helpers.tpl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
{{- define "name" -}} | ||
gardener-extension-admission-openstack | ||
{{- end -}} | ||
|
||
{{- define "labels.app.key" -}} | ||
app.kubernetes.io/name | ||
{{- end -}} | ||
{{- define "labels.app.value" -}} | ||
{{ include "name" . }} | ||
{{- end -}} | ||
|
||
{{- define "labels" -}} | ||
{{ include "labels.app.key" . }}: {{ include "labels.app.value" . }} | ||
app.kubernetes.io/instance: {{ .Release.Name }} | ||
{{- end -}} | ||
|
||
{{- define "image" -}} | ||
{{- if hasPrefix "sha256:" .tag }} | ||
{{- printf "%s@%s" .repository .tag }} | ||
{{- else }} | ||
{{- printf "%s:%s" .repository .tag }} | ||
{{- end }} | ||
{{- end }} | ||
|
||
{{- define "leaderelectionid" -}} | ||
gardener-extension-admission-openstack | ||
{{- end -}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 0 additions & 1 deletion
1
charts/gardener-extension-admission-openstack/charts/runtime/values.yaml
This file was deleted.
Oops, something went wrong.
37 changes: 37 additions & 0 deletions
37
charts/gardener-extension-admission-openstack/charts/runtime/values.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
image: | ||
repository: europe-docker.pkg.dev/gardener-project/public/gardener/extensions/admission-openstack | ||
tag: latest | ||
pullPolicy: IfNotPresent | ||
|
||
replicaCount: 1 | ||
resources: {} | ||
metricsPort: 8080 | ||
healthPort: 8081 | ||
vpa: | ||
enabled: true | ||
updatePolicy: | ||
updateMode: "Auto" | ||
enableOverlayAsDefaultForCalico: true | ||
enableOverlayAsDefaultForCilium: true | ||
webhookConfig: | ||
serverPort: 10250 | ||
|
||
# Kubeconfig to the target cluster. In-cluster configuration will be used if not specified. | ||
kubeconfig: | ||
|
||
#projectedKubeconfig: | ||
# baseMountPath: /var/run/secrets/gardener.cloud | ||
# genericKubeconfigSecretName: generic-token-kubeconfig | ||
# tokenSecretName: access-os-admission | ||
|
||
service: | ||
topologyAwareRouting: | ||
enabled: false | ||
|
||
gardener: | ||
virtualCluster: | ||
serviceAccount: {} | ||
# name: extension-admission-provider-openstack | ||
# namespace: kube-system | ||
runtimeCluster: {} | ||
# priorityClassName: gardener-garden-system-400 |
Oops, something went wrong.