Skip to content

Introduce inventory parameters for cluster and tenant display names#311

Merged
simu merged 1 commit into
masterfrom
feat/display-name-params
Apr 29, 2021
Merged

Introduce inventory parameters for cluster and tenant display names#311
simu merged 1 commit into
masterfrom
feat/display-name-params

Conversation

@simu

@simu simu commented Apr 28, 2021

Copy link
Copy Markdown
Member

This commit adds parameters cluster.display_name and cluster.tenant_display_name which can be used to insert the cluster's and tenant's display name in manifests.

The commit also adds a new documentation page which lists all the inventory parameters which are managed by Commodore and injected during catalog compilation.

Fixes #307.

Checklist

  • Keep pull requests small so they can be easily reviewed.
  • Update the documentation.
  • Update tests.
  • Categorize the PR by setting a good title and adding one of the labels:
    bug, enhancement, documentation, change, breaking, dependency
    as they show up in the changelog
  • Link this PR to related issues.

@simu simu added the enhancement New feature or request label Apr 28, 2021
@simu simu requested a review from ccremer April 28, 2021 14:48
@simu simu force-pushed the feat/display-name-params branch from cb3f239 to e6be4cd Compare April 28, 2021 14:52
Comment thread docs/modules/ROOT/partials/nav-reference.adoc Outdated
@simu simu force-pushed the feat/display-name-params branch from e6be4cd to d214659 Compare April 28, 2021 15:43
Comment thread docs/modules/ROOT/pages/reference/parameters.adoc Outdated
This commit adds parameters `cluster.display_name` and
`cluster.tenant_display_name` which can be used to insert the cluster's
and tenant's display name in manifests.

The commit also adds a new documentation page which lists all the
inventory parameters which are managed by Commodore and injected during
catalog compilation.

Fixes #307.
@simu simu force-pushed the feat/display-name-params branch from d214659 to 186cd80 Compare April 29, 2021 07:55
@simu simu merged commit 1b65fc9 into master Apr 29, 2021
@simu simu deleted the feat/display-name-params branch April 29, 2021 09:05
simu added a commit that referenced this pull request Aug 8, 2023
We manually generate a `cluster/params.yml` in `component compile`. This
logic hasn't been updated to provide values for
`${cluster:display_name}` and `${cluster:tenant_display_name}` in #311.

This commit updates `component compile` to provide dummy values for
those variables and adjusts the component compilation tests to verify
that these variables are provided.
simu added a commit that referenced this pull request Aug 8, 2023
…package compile`

We manually generate a `cluster/params.yml` in `component compile` and
`package compile`. This logic hasn't been updated to provide values for
`${cluster:display_name}` and `${cluster:tenant_display_name}` in #311.

This commit updates `component compile` and `package compile` to provide
dummy values for those variables and adjusts the component compilation
tests to verify that these variables are provided.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Provide tenant and cluster display name as parameters in configuration hierarchy

2 participants