Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions cluster-template/inventory.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@ all:
- trust-manager
# only development clusters can be reseted
development_cluster: true
# set the reclaimPolicy for the local-path stroage class
sc_local_path_reclaim_policy: "Retain"
# the internal ip address range for pods
k8s_cidr: 10.85.0.0/16
# the internal ip address range for services
Expand Down
3 changes: 3 additions & 0 deletions components/local-storage/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ patches:
- op: add
path: /metadata/annotations/storageclass.kubernetes.io~1is-default-class
value: "true"
- op: replace
path: /reclaimPolicy
value: "{{ sc_local_path_reclaim_policy | default('Delete') }}"

{% if repo_mirror is defined %}
images:
Expand Down