diff --git a/charts/gardener-dashboard/values.yaml b/charts/gardener-dashboard/values.yaml index bc48906337..14d9c5a679 100644 --- a/charts/gardener-dashboard/values.yaml +++ b/charts/gardener-dashboard/values.yaml @@ -153,13 +153,27 @@ global: # # - `${projectName}`: name of the project # # - `${utcDateTimeNow}`: current date-time in utc format # # - `${seedName}`: shoot's seed name + # # - `${accessRestrictions}`: list with shoot's selected access restrictions + # # accessRestrictions[].title: access restriction title + # # accessRestrictions[].description: access restriction description + # # accessRestrictions[].key: unique identifier + # # accessRestrictions[].options: list with selected options for the access restriction + # # accessRestrictions[].options[].title: option title + # # accessRestrictions[].options[].description: option description + # # accessRestrictions[].options[].key: unique identifier # issueDescriptionTemplate: | # ## Which cluster is affected? # `Cluster Details Dashboard Link`: [${projectName}/${shootName}](${shootUrl}) # `Operating System`: ${machineImageNames} # `Platform`: ${providerType} - + # <% if(accessRestrictions.length) { %> + # ## Attention: This cluster has access restrictions + # <% accessRestrictions.forEach(accessRestriction => { %> + # - <%- accessRestriction.title %><% accessRestriction.options.forEach(option => { %> + # - <%- option.title %><% }) }) %> + # <% + # }%> # ## What happened? # ## What you expected to happen? diff --git a/frontend/src/components/ShootAccessRestrictions/AccessRestrictionChips.vue b/frontend/src/components/ShootAccessRestrictions/AccessRestrictionChips.vue index 194f968f05..ff1248cc2b 100644 --- a/frontend/src/components/ShootAccessRestrictions/AccessRestrictionChips.vue +++ b/frontend/src/components/ShootAccessRestrictions/AccessRestrictionChips.vue @@ -6,7 +6,7 @@ SPDX-License-Identifier: Apache-2.0 - + {{title}} @@ -41,7 +41,7 @@ SPDX-License-Identifier: Apache-2.0 - + diff --git a/frontend/src/components/ShootDetails/ShootDetailsCard.vue b/frontend/src/components/ShootDetails/ShootDetailsCard.vue index 0754c66aa9..929c25a5c3 100644 --- a/frontend/src/components/ShootDetails/ShootDetailsCard.vue +++ b/frontend/src/components/ShootDetails/ShootDetailsCard.vue @@ -142,7 +142,7 @@ SPDX-License-Identifier: Apache-2.0 Access Restrictions - + diff --git a/frontend/src/components/TicketsCard.vue b/frontend/src/components/TicketsCard.vue index 5ab6df4a0f..fcf3e67540 100644 --- a/frontend/src/components/TicketsCard.vue +++ b/frontend/src/components/TicketsCard.vue @@ -81,7 +81,8 @@ export default { machineImageNames: this.shootMachineImageNames, projectName: this.shootProjectName, utcDateTimeNow: moment().utc().format(), - seedName: this.shootSeedName + seedName: this.shootSeedName, + accessRestrictions: this.shootSelectedAccessRestrictions }) }, shootUrl () {