-
Notifications
You must be signed in to change notification settings - Fork 3
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
Feature: environments #41
Merged
Merged
Changes from 35 commits
Commits
Show all changes
41 commits
Select commit
Hold shift + click to select a range
7f6b387
add: prod base
piontec ec5d7e4
wip: prod cluster
piontec 58712c2
move prod clsuter template to app specific folder
piontec 9df3628
staging cluster
piontec 45d9020
add: dev environment
piontec f053324
fix: unfortunately, both cluster_id and cluster_name are needed
piontec 0f5c4e1
Merge branch 'main' into feature/environments
piontec 116e862
Merge branch 'main' into feature/environments
uvegla 3a27e9f
Fix typos
uvegla 39e0ba4
Add base for environment workload cluster docs
uvegla f8ec529
Merge branch 'main' into feature/environments
piontec b07b866
renamed 'deployments' to 'stages'
piontec 342a2fe
Add docs on environment cluster bases
uvegla 9f01e80
Merge branch 'feature/environments' of github.com:giantswarm/gitops-t…
uvegla 662d9c3
Add docs on setting up workload clusters based on environment bases
uvegla 5f169a5
Add table of content to environment cluster bases and some tips devel…
uvegla 5982c30
Add tools used by `test-all-ffb` script to Appendices
uvegla 07fe15a
add note about problems when using multiple bases
piontec e60cc87
set cluster names in YAML to same values as suggested by file names
piontec e3c1047
Format note on merging yamls and fix pre-commit hook warnings
uvegla 71abd1c
Update docs/add_wc_environments.md
uvegla c5d7f88
Update docs/add_wc_environments.md
uvegla f5d58eb
Update docs/add_wc_environments.md
uvegla 897e87c
Update docs/add_wc_environments.md
uvegla d66aa9a
Update docs/add_wc_environments.md
uvegla 8139c20
Correct title based on code review and fix pre-commit warnings
uvegla 6499cef
Replace kubeval with kubeconform
uvegla bc8260b
Make kubeconform check output similar to yamllint check output
uvegla a797827
Format warning about multiple layer merges for environments
uvegla 8688694
Merge branch 'main' into feature/environments
uvegla 5c0a9fd
improve environments docs
piontec f91e411
Update docs/add_wc_environments.md
piontec 267a70e
Update docs/add_wc_environments.md
piontec 1348830
Update docs/add_wc_environments.md
piontec a0343bc
Merge branch 'main' into feature/environments
piontec 305feb0
Fix some typos
uvegla 3dd6596
Add example commands to recreate the cluster environment templates
uvegla 6f773fc
Add example commands to create and instance of an envrionment cluster…
uvegla 0fb3745
Fix kubeconform validation errors
uvegla 89c73a0
Merge branch 'main' into feature/environments
piontec 31fffe9
added changelog
piontec 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
12 changes: 12 additions & 0 deletions
12
bases/cluster_templates/hello_app_cluster/app_sets/hello-web-app/kustomization.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,12 @@ | ||
apiVersion: kustomize.config.k8s.io/v1beta1 | ||
buildMetadata: [originAnnotations] | ||
configMapGenerator: | ||
- behavior: replace | ||
files: | ||
- values=override_config_hello_world.yaml | ||
name: ${cluster_id}-hello-world-values | ||
generatorOptions: | ||
disableNameSuffixHash: true | ||
kind: Kustomization | ||
resources: | ||
- ../../../../app_sets/hello-web-app/ |
6 changes: 6 additions & 0 deletions
6
...uster_templates/hello_app_cluster/app_sets/hello-web-app/override_config_hello_world.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,6 @@ | ||
admin_login: hello-admin-in-cluster-template | ||
db_config: | ||
db_port: 5433 # has to be in sync with config in default_config_simple_db.yaml | ||
db_user: hello-web-app # has to be in sync with config in default_config_simple_db.yaml | ||
host: simple-db.simple-web.svc # has to be in sync with 'namespace:' set in kustomization.yaml | ||
thread_pool_size: 64 |
10 changes: 10 additions & 0 deletions
10
bases/cluster_templates/hello_app_cluster/cluster/cluster_user_config.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,10 @@ | ||
apiVersion: v1 | ||
data: | ||
values: | | ||
cloudConfig: cloud-config-giantswarm-2 | ||
cloudName: openstack | ||
externalNetworkID: aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee | ||
kind: ConfigMap | ||
metadata: | ||
name: ${cluster_name}-user-config | ||
namespace: org-${organization} |
10 changes: 10 additions & 0 deletions
10
bases/cluster_templates/hello_app_cluster/cluster/kustomization.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,10 @@ | ||
apiVersion: kustomize.config.k8s.io/v1beta1 | ||
buildMetadata: [originAnnotations] | ||
commonLabels: | ||
giantswarm.io/managed-by: flux | ||
kind: Kustomization | ||
patchesStrategicMerge: | ||
- patch_user_config.yaml | ||
resources: | ||
- ../../../clusters/capo/>=v0.6.0 | ||
- cluster_user_config.yaml |
10 changes: 10 additions & 0 deletions
10
bases/cluster_templates/hello_app_cluster/cluster/patch_user_config.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,10 @@ | ||
apiVersion: application.giantswarm.io/v1alpha1 | ||
kind: App | ||
metadata: | ||
name: ${cluster_name} | ||
namespace: org-${organization} | ||
spec: | ||
userConfig: | ||
configMap: | ||
name: ${cluster_name}-user-config | ||
namespace: org-${organization} |
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,6 @@ | ||
apiVersion: kustomize.config.k8s.io/v1beta1 | ||
buildMetadata: [originAnnotations] | ||
kind: Kustomization | ||
resources: | ||
- cluster/ | ||
- app_sets/hello-web-app/ |
14 changes: 14 additions & 0 deletions
14
bases/environments/stages/dev/hello_app_cluster/automatic_updates/catalog.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,14 @@ | ||
apiVersion: application.giantswarm.io/v1alpha1 | ||
kind: Catalog | ||
metadata: | ||
labels: | ||
application.giantswarm.io/catalog-visibility: internal | ||
name: giantswarm-catalog-oci | ||
namespace: org-${organization} | ||
spec: | ||
description: giantswarm-catalog-oci | ||
logoURL: "https://avatars.githubusercontent.com/u/7556340?s=60&v=4" | ||
storage: | ||
URL: oci://giantswarmpublic.azurecr.io/giantswarm-catalog/ | ||
type: helm | ||
title: giantswarm-catalog-oci |
28 changes: 28 additions & 0 deletions
28
bases/environments/stages/dev/hello_app_cluster/automatic_updates/imageupdate.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,28 @@ | ||
apiVersion: image.toolkit.fluxcd.io/v1beta1 | ||
kind: ImageUpdateAutomation | ||
metadata: | ||
name: ${cluster_id}-image-updates | ||
namespace: org-${organization} | ||
spec: | ||
git: | ||
checkout: | ||
ref: | ||
branch: main | ||
commit: | ||
author: | ||
email: [email protected] | ||
name: fluxcdbot | ||
messageTemplate: | | ||
automated app upgrades: | ||
{{ range $image, $_ := .Updated.Images -}} | ||
- {{ $image.Repository }} to {{ $image.Identifier }} | ||
{{ end -}} | ||
push: | ||
branch: main | ||
interval: 1m0s | ||
sourceRef: | ||
kind: GitRepository | ||
name: YOUR_GIT_REPO | ||
update: | ||
path: ./management-clusters/MC_NAME | ||
strategy: Setters |
8 changes: 8 additions & 0 deletions
8
bases/environments/stages/dev/hello_app_cluster/automatic_updates/kustomization.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,8 @@ | ||
apiVersion: kustomize.config.k8s.io/v1beta1 | ||
buildMetadata: [originAnnotations] | ||
commonLabels: | ||
giantswarm.io/managed-by: flux | ||
kind: Kustomization | ||
resources: | ||
- catalog.yaml | ||
- imageupdate.yaml |
1 change: 1 addition & 0 deletions
1
bases/environments/stages/dev/hello_app_cluster/hello_world_app_user_config.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 @@ | ||
thread_pool_size: 16 |
24 changes: 24 additions & 0 deletions
24
bases/environments/stages/dev/hello_app_cluster/imagepolicies.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,24 @@ | ||
--- | ||
apiVersion: image.toolkit.fluxcd.io/v1beta1 | ||
kind: ImagePolicy | ||
metadata: | ||
name: ${cluster_id}-hello-app | ||
spec: | ||
filterTags: | ||
pattern: '.*-dev.*' | ||
imageRepositoryRef: | ||
name: ${cluster_id}-hello-app | ||
policy: | ||
semver: | ||
range: '>=0.1.0' | ||
--- | ||
apiVersion: image.toolkit.fluxcd.io/v1beta1 | ||
kind: ImagePolicy | ||
metadata: | ||
name: ${cluster_id}-simple-db-app | ||
spec: | ||
imageRepositoryRef: | ||
name: ${cluster_id}-simple-db | ||
policy: | ||
semver: | ||
range: '>=0.1.0 <0.2.0' |
16 changes: 16 additions & 0 deletions
16
bases/environments/stages/dev/hello_app_cluster/imagerepositories.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,16 @@ | ||
--- | ||
apiVersion: image.toolkit.fluxcd.io/v1beta1 | ||
kind: ImageRepository | ||
metadata: | ||
name: ${cluster_id}-hello-app | ||
spec: | ||
image: giantswarmpublic.azurecr.io/giantswarm-catalog/hello-world-app | ||
interval: 10m0s | ||
--- | ||
apiVersion: image.toolkit.fluxcd.io/v1beta1 | ||
kind: ImageRepository | ||
metadata: | ||
name: ${cluster_id}-simple-db-app | ||
spec: | ||
image: giantswarmpublic.azurecr.io/giantswarm-catalog/simple-db-app | ||
interval: 10m0s |
32 changes: 32 additions & 0 deletions
32
bases/environments/stages/dev/hello_app_cluster/kustomization.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,32 @@ | ||
apiVersion: kustomize.config.k8s.io/v1beta1 | ||
buildMetadata: [originAnnotations] | ||
configMapGenerator: | ||
- behavior: create | ||
files: | ||
- values=hello_world_app_user_config.yaml | ||
name: ${cluster_id}-hello-world-user-config | ||
generatorOptions: | ||
disableNameSuffixHash: true | ||
kind: Kustomization | ||
# (optional) here we can enforce versions for both component of the app that we want in prod | ||
patches: | ||
- patch: |- | ||
- op: replace | ||
path: /spec/version | ||
value: '0.1.8 # {"$imagepolicy": "org-${organization}:${cluster_id}-hello-app"}' | ||
target: | ||
kind: App | ||
name: \${cluster_id}-hello-world | ||
- patch: |- | ||
- op: replace | ||
path: /spec/version | ||
value: '0.1.0 # {"$imagepolicy": "org-${organization}:${cluster_id}-simple-db-app"}' | ||
target: | ||
kind: App | ||
name: \${cluster_id}-simple-db | ||
# block end | ||
resources: | ||
- automatic_updates/ | ||
- imagepolicies.yaml | ||
- imagerepositories.yaml | ||
- ../../../../cluster_templates/hello_app_cluster |
10 changes: 10 additions & 0 deletions
10
bases/environments/stages/prod/hello_app_cluster/cluster_user_config.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,10 @@ | ||
values: | | ||
cloudConfig: cloud-config-giantswarm-2 | ||
cloudName: openstack | ||
externalNetworkID: prod-bbbb-cccc-dddd-eeeeeeeeeeee | ||
nodeClasses: | ||
- bootFromVolume: true | ||
diskSize: 150 | ||
flavor: n1.large | ||
image: dddddddd-dddd-dddd-dddd-dddddddddddd | ||
name: default |
1 change: 1 addition & 0 deletions
1
bases/environments/stages/prod/hello_app_cluster/hello_world_app_user_config.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 @@ | ||
thread_pool_size: 256 |
34 changes: 34 additions & 0 deletions
34
bases/environments/stages/prod/hello_app_cluster/kustomization.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,34 @@ | ||
apiVersion: kustomize.config.k8s.io/v1beta1 | ||
buildMetadata: [originAnnotations] | ||
configMapGenerator: | ||
- behavior: create | ||
files: | ||
- values=hello_world_app_user_config.yaml | ||
name: ${cluster_id}-hello-world-user-config | ||
- behavior: replace | ||
files: | ||
- values=cluster_user_config.yaml | ||
name: ${cluster_name}-user-config | ||
namespace: org-${organization} | ||
generatorOptions: | ||
disableNameSuffixHash: true | ||
kind: Kustomization | ||
# (optional) here we can enforce versions for both component of the app that we want in prod | ||
patches: | ||
- patch: |- | ||
- op: replace | ||
path: /spec/version | ||
value: 0.1.8 | ||
target: | ||
kind: App | ||
name: \${cluster_id}-hello-world | ||
- patch: |- | ||
- op: replace | ||
path: /spec/version | ||
value: 0.1.0 | ||
target: | ||
kind: App | ||
name: \${cluster_id}-simple-db | ||
# block end | ||
resources: | ||
- ../../../../cluster_templates/hello_app_cluster |
14 changes: 14 additions & 0 deletions
14
bases/environments/stages/staging/hello_app_cluster/automatic_updates/catalog.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,14 @@ | ||
apiVersion: application.giantswarm.io/v1alpha1 | ||
kind: Catalog | ||
metadata: | ||
labels: | ||
application.giantswarm.io/catalog-visibility: internal | ||
name: giantswarm-catalog-oci | ||
namespace: org-${organization} | ||
spec: | ||
description: giantswarm-catalog-oci | ||
logoURL: "https://avatars.githubusercontent.com/u/7556340?s=60&v=4" | ||
storage: | ||
URL: oci://giantswarmpublic.azurecr.io/giantswarm-catalog/ | ||
type: helm | ||
title: giantswarm-catalog-oci |
28 changes: 28 additions & 0 deletions
28
bases/environments/stages/staging/hello_app_cluster/automatic_updates/imageupdate.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,28 @@ | ||
apiVersion: image.toolkit.fluxcd.io/v1beta1 | ||
kind: ImageUpdateAutomation | ||
metadata: | ||
name: ${cluster_id}-image-updates | ||
namespace: org-${organization} | ||
spec: | ||
git: | ||
checkout: | ||
ref: | ||
branch: main | ||
commit: | ||
author: | ||
email: [email protected] | ||
name: fluxcdbot | ||
messageTemplate: | | ||
automated app upgrades: | ||
{{ range $image, $_ := .Updated.Images -}} | ||
- {{ $image.Repository }} to {{ $image.Identifier }} | ||
{{ end -}} | ||
push: | ||
branch: main | ||
interval: 1m0s | ||
sourceRef: | ||
kind: GitRepository | ||
name: YOUR_GIT_REPO | ||
update: | ||
path: ./management-clusters/MC_NAME | ||
strategy: Setters |
8 changes: 8 additions & 0 deletions
8
bases/environments/stages/staging/hello_app_cluster/automatic_updates/kustomization.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,8 @@ | ||
apiVersion: kustomize.config.k8s.io/v1beta1 | ||
buildMetadata: [originAnnotations] | ||
commonLabels: | ||
giantswarm.io/managed-by: flux | ||
kind: Kustomization | ||
resources: | ||
- catalog.yaml | ||
- imageupdate.yaml |
1 change: 1 addition & 0 deletions
1
bases/environments/stages/staging/hello_app_cluster/hello_world_app_user_config.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 @@ | ||
thread_pool_size: 64 |
22 changes: 22 additions & 0 deletions
22
bases/environments/stages/staging/hello_app_cluster/imagepolicies.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,22 @@ | ||
--- | ||
apiVersion: image.toolkit.fluxcd.io/v1beta1 | ||
kind: ImagePolicy | ||
metadata: | ||
name: ${cluster_id}-hello-app | ||
spec: | ||
imageRepositoryRef: | ||
name: ${cluster_id}-hello-app | ||
policy: | ||
semver: | ||
range: '>=0.1.0 <1.0.0' | ||
--- | ||
apiVersion: image.toolkit.fluxcd.io/v1beta1 | ||
kind: ImagePolicy | ||
metadata: | ||
name: ${cluster_id}-simple-db-app | ||
spec: | ||
imageRepositoryRef: | ||
name: ${cluster_id}-simple-db | ||
policy: | ||
semver: | ||
range: '>=0.1.0 <0.2.0' |
16 changes: 16 additions & 0 deletions
16
bases/environments/stages/staging/hello_app_cluster/imagerepositories.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,16 @@ | ||
--- | ||
apiVersion: image.toolkit.fluxcd.io/v1beta1 | ||
kind: ImageRepository | ||
metadata: | ||
name: ${cluster_id}-hello-app | ||
spec: | ||
image: giantswarmpublic.azurecr.io/giantswarm-catalog/hello-world-app | ||
interval: 10m0s | ||
--- | ||
apiVersion: image.toolkit.fluxcd.io/v1beta1 | ||
kind: ImageRepository | ||
metadata: | ||
name: ${cluster_id}-simple-db-app | ||
spec: | ||
image: giantswarmpublic.azurecr.io/giantswarm-catalog/simple-db-app | ||
interval: 10m0s |
32 changes: 32 additions & 0 deletions
32
bases/environments/stages/staging/hello_app_cluster/kustomization.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,32 @@ | ||
apiVersion: kustomize.config.k8s.io/v1beta1 | ||
buildMetadata: [originAnnotations] | ||
configMapGenerator: | ||
- behavior: create | ||
files: | ||
- values=hello_world_app_user_config.yaml | ||
name: ${cluster_id}-hello-world-user-config | ||
generatorOptions: | ||
disableNameSuffixHash: true | ||
kind: Kustomization | ||
# (optional) here we can enforce versions for both component of the app that we want in prod | ||
patches: | ||
- patch: |- | ||
- op: replace | ||
path: /spec/version | ||
value: '0.1.8 # {"$imagepolicy": "org-${organization}:${cluster_id}-hello-app"}' | ||
target: | ||
kind: App | ||
name: \${cluster_id}-hello-world | ||
- patch: |- | ||
- op: replace | ||
path: /spec/version | ||
value: '0.1.0 # {"$imagepolicy": "org-${organization}:${cluster_id}-simple-db-app"}' | ||
target: | ||
kind: App | ||
name: \${cluster_id}-simple-db | ||
# block end | ||
resources: | ||
- automatic_updates/ | ||
- imagepolicies.yaml | ||
- imagerepositories.yaml | ||
- ../../../../cluster_templates/hello_app_cluster |
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.
Why are changes in the
app_sets
subfolder needed in this PR? It seems like a separate area to me.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.
This is a change in
cluster_templates
, not baseapp_sets
. Tunes the app_set for thisclsuter_template
.