-
Notifications
You must be signed in to change notification settings - Fork 103
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[DRAFT] Add cloud providers via configuration #1553
Draft
grolu
wants to merge
38
commits into
master
Choose a base branch
from
enh/configure_cloudprovider_vue3
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Changes from all commits
Commits
Show all changes
38 commits
Select commit
Hold shift + click to select a range
25753e5
Migrated WIP from enh/configure_cloudprovider to vue3 branch
grolu c51dba5
Merge branch 'master' into enh/configure_cloudprovider_vue3
grolu fd98aff
fixed some issues
grolu 9993beb
Merge branch 'master' into enh/configure_cloudprovider_vue3
grolu b4527f8
Merge branch 'master' into enh/configure_cloudprovider_vue3
grolu c7cf471
Added known vendor names
grolu b130779
rm unused action
grolu ae459ff
Merge branch 'master' into enh/configure_cloudprovider_vue3
grolu 5969d55
Some lint fixes
grolu 0c773ef
Added documentation
grolu 45a673d
Small fixes
grolu 3cad75d
Merge branch 'master' into enh/configure_cloudprovider_vue3
grolu 6f251a7
Show cloud profiles without seed in frontend
grolu 2e51cf9
Add custom input fields to create shoot infrastructure card
grolu e139528
Merge branch 'master' into enh/configure_cloudprovider_vue3
grolu 88ab096
moved custom fields to dedicated component
grolu 2f6711e
Added simple generic selects
grolu ec98a0a
Removed logger import
grolu 72208fc
updated tests (no longer filter cloudprofiles without matching seed)
grolu 7a8d167
Merge branch 'master' into enh/configure_cloudprovider_vue3
grolu fabc571
Merge branch 'master' into enh/configure_cloudprovider_vue3
grolu 8a9482e
Merge branch 'master' into enh/configure_cloudprovider_vue3
grolu 35547f7
updated charts
grolu 0c8e20d
Updated documentation
grolu 34a4285
Optimized documentation
grolu 52f7da2
Further cleanup
grolu b65d099
Merge branch 'master' into enh/configure_cloudprovider_vue3
grolu bbca10c
Merge branch 'master' into enh/configure_cloudprovider_vue3
grolu bfe68dd
Merge branch 'master' into enh/configure_cloudprovider_vue3
grolu 400565e
Merge branch 'master' into enh/configure_cloudprovider_vue3
grolu 0e88908
Fixed helm template. & tests
grolu 38cffb6
Merge branch 'master' into enh/configure_cloudprovider_vue3
grolu a5ba4cc
Some docu fixes
grolu c8911c3
Some minor fixes
grolu 467f7dd
Merge branch 'master' into enh/configure_cloudprovider_vue3
grolu 3290653
Fixed lint security warnings
grolu f04a237
Merge branch 'master' into enh/configure_cloudprovider_vue3
grolu d6e5d0a
Merge branch 'master' into enh/configure_cloudprovider_vue3
grolu File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 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
20 changes: 20 additions & 0 deletions
20
charts/gardener-dashboard/charts/runtime/templates/dashboard/configmap-vendor-assets.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,20 @@ | ||
{{- if .Values.global.dashboard.enabled }} | ||
{{- if .Values.global.dashboard.frontendConfig.vendorAssets }} | ||
apiVersion: v1 | ||
kind: ConfigMap | ||
metadata: | ||
name: dashboard-vendor-assets | ||
namespace: {{ .Release.Namespace }} | ||
labels: | ||
app.kubernetes.io/name: gardener-dashboard | ||
app.kubernetes.io/component: dashboard | ||
helm.sh/chart: "{{ .Chart.Name }}-{{ .Chart.Version }}" | ||
app.kubernetes.io/instance: "{{ .Release.Name }}" | ||
app.kubernetes.io/managed-by: "{{ .Release.Service }}" | ||
binaryData: | ||
{{- range $file, $content := .Values.global.dashboard.frontendConfig.vendorAssets }} | ||
{{ $file }}: | | ||
{{ $content }} | ||
{{- end }} | ||
{{- end }} | ||
{{- 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
Original file line number | Diff line number | Diff line change | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
@@ -361,6 +361,52 @@ global: | |||||||||||||
# resourceQuotaHelp: | ||||||||||||||
# text: Help text | ||||||||||||||
|
||||||||||||||
# # cloudProviderList - configure available cloud providers. This allows to change order and to add additional (not built-in providers), see also customCloudProviders | ||||||||||||||
# cloudProviderList: | ||||||||||||||
Comment on lines
+364
to
+365
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||||||||||
# - aws | ||||||||||||||
# - custom-provider | ||||||||||||||
|
||||||||||||||
# # customCloudProviders - configure additional cloud providers | ||||||||||||||
# customCloudProviders: | ||||||||||||||
# custom-provider: | ||||||||||||||
# zoned: true | ||||||||||||||
# shoot: | ||||||||||||||
# specTemplate: # shoot template for this provider | ||||||||||||||
# provider: | ||||||||||||||
# type: custom-provider | ||||||||||||||
# networking: | ||||||||||||||
# nodes: ${workerCIDR} | ||||||||||||||
# createFields: | ||||||||||||||
# - key: foo | ||||||||||||||
# path: spec.provider.extra | ||||||||||||||
# hint: Enter Additional data | ||||||||||||||
# label: Additional Information | ||||||||||||||
Comment on lines
+381
to
+383
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||||||||||
# type: text | ||||||||||||||
# validators: | ||||||||||||||
# required: | ||||||||||||||
# type: required | ||||||||||||||
# secret: # secret dialog | ||||||||||||||
# fields: | ||||||||||||||
# - key: user | ||||||||||||||
# hint: Enter a valid user | ||||||||||||||
# label: User | ||||||||||||||
# type: text | ||||||||||||||
# validators: | ||||||||||||||
# required: | ||||||||||||||
# type: required | ||||||||||||||
# validationErrors: | ||||||||||||||
# required: User is required | ||||||||||||||
# help: | # help text for secret dialog | ||||||||||||||
# #Foo Cloud Provider | ||||||||||||||
|
||||||||||||||
# # vendors - configure additional or overwrite built-in vendor icons | ||||||||||||||
# vendors: | ||||||||||||||
# custom-provider: | ||||||||||||||
# icon: custom-provider.svg | ||||||||||||||
# | ||||||||||||||
# vendorAssets: | ||||||||||||||
# custom-provider.svg: | | ||||||||||||||
|
||||||||||||||
# # controlPlaneHighAvailabilityHelp - configure help text for control plane high availability, control plane pricing etc. | ||||||||||||||
# controlPlaneHighAvailabilityHelp: | ||||||||||||||
# text: Help text | ||||||||||||||
|
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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
similar to
configmap-assets.spec.js
, add tests for vendor-assets