fix(helmfile): Add sample.yaml.gotmpl to dev and prod env directories.

This commit is contained in:
Thorsten Roßner
2024-09-10 12:34:14 +02:00
parent 9950b73ae3
commit dd80abe622
7 changed files with 35 additions and 24 deletions

2
.gitignore vendored
View File

@@ -7,6 +7,8 @@
# Ignore changes to sample environments
helmfile/environments/dev/*.yaml.gotmpl
helmfile/environments/prod/*.yaml.gotmpl
!helmfile/environments/dev/sample.yaml.gotmpl
!helmfile/environments/prod/sample.yaml.gotmpl
# Ignore in CI generated files
.kyverno/opendesk.yaml

View File

@@ -0,0 +1,11 @@
# SPDX-FileCopyrightText: 2023 Bundesministerium des Innern und für Heimat, PG ZenDiS "Projektgruppe für Aufbau ZenDiS"
# SPDX-License-Identifier: Apache-2.0
#
# NOTE: Do not overwrite this file!
# Place `.yaml.gotmpl` file(s) with your dev environment specific settings into this folder.
# As shown in the example you can even use templating.
---
sample:
withTemplating: {{ env "YOUR_ENV_VARIABLE_FOR_TEMPLATING" | quote }}
withoutTemplating: "my_value"
...

View File

@@ -1,8 +0,0 @@
# SPDX-FileCopyrightText: 2023 Bundesministerium des Innern und für Heimat, PG ZenDiS "Projektgruppe für Aufbau ZenDiS"
# SPDX-License-Identifier: Apache-2.0
---
sampleWithTemplating: {{ env "YOUR_ENV_VARIABLE_FOR_TEMPLATING" | quote }}
global:
imageRegistry: "your.private.oci-container-image-registry/with_optional_path"
helmRegistry: "your.private.oci-helm-chart-registry/with_optional_path"
...

View File

@@ -0,0 +1,11 @@
# SPDX-FileCopyrightText: 2023 Bundesministerium des Innern und für Heimat, PG ZenDiS "Projektgruppe für Aufbau ZenDiS"
# SPDX-License-Identifier: Apache-2.0
#
# NOTE: Do not overwrite this file!
# Place `.yaml.gotmpl` file(s) with your prod environment specific settings into this folder.
# As shown in the example you can even use templating.
---
sample:
withTemplating: {{ env "YOUR_ENV_VARIABLE_FOR_TEMPLATING" | quote }}
withoutTemplating: "my_value"
...

View File

@@ -1,8 +0,0 @@
# SPDX-FileCopyrightText: 2023 Bundesministerium des Innern und für Heimat, PG ZenDiS "Projektgruppe für Aufbau ZenDiS"
# SPDX-License-Identifier: Apache-2.0
---
sampleWithTemplating: {{ env "YOUR_ENV_VARIABLE_FOR_TEMPLATING" | quote }}
global:
imageRegistry: "your.private.oci-container-image-registry/with_optional_path"
helmRegistry: "your.private.oci-helm-chart-registry/with_optional_path"
...

View File

@@ -0,0 +1,11 @@
# SPDX-FileCopyrightText: 2023 Bundesministerium des Innern und für Heimat, PG ZenDiS "Projektgruppe für Aufbau ZenDiS"
# SPDX-License-Identifier: Apache-2.0
#
# NOTE: Do not overwrite this file!
# Place `.yaml.gotmpl` file(s) with your test environment specific settings into this folder.
# As shown in the example you can even use templating.
---
sample:
withTemplating: {{ env "YOUR_ENV_VARIABLE_FOR_TEMPLATING" | quote }}
withoutTemplating: "my_value"
...

View File

@@ -1,8 +0,0 @@
# SPDX-FileCopyrightText: 2023 Bundesministerium des Innern und für Heimat, PG ZenDiS "Projektgruppe für Aufbau ZenDiS"
# SPDX-License-Identifier: Apache-2.0
---
sampleWithTemplating: {{ env "YOUR_ENV_VARIABLE_FOR_TEMPLATING" | quote }}
global:
imageRegistry: "your.private.oci-container-image-registry/with_optional_path"
helmRegistry: "your.private.oci-helm-chart-registry/with_optional_path"
...