Skip to content

Commit

Permalink
feat: nutanix csi ha zarf init (#100)
Browse files Browse the repository at this point in the history
  • Loading branch information
justicorn committed May 13, 2024
1 parent 952659b commit 4c1197b
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 1 deletion.
13 changes: 13 additions & 0 deletions bundles/uds-core-swf/uds-bundle.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,19 @@ packages:
optionalComponents:
- git-server
ref: v0.33.0
overrides:
zarf-seed-registry:
docker-registry:
variables:
- name: REGISTRY_STORAGE_CLASS
path: persistence.storageClass
default: "nutanix-dynamicfile"
zarf-registry:
docker-registry:
variables:
- name: REGISTRY_STORAGE_CLASS
path: persistence.storageClass
default: "nutanix-dynamicfile"

# Namespace pre-reqs for swf capabilities
- name: software-factory-namespaces
Expand Down
17 changes: 16 additions & 1 deletion config/uds-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,22 @@ shared:
ADDITIONAL_CA_CHAIN: replace-me-with-additional-ca-chain
variables:
init:
REGISTRY_HPA_ENABLE: false
REGISTRY_AFFINITY_CUSTOM: |
podAntiAffinity:
preferredDuringSchedulingIgnoredDuringExecution:
- weight: 100
podAffinityTerm:
labelSelector:
matchExpressions:
- key: app
operator: In
values:
- docker-registry
topologyKey: kubernetes.io/hostname REGISTRY_HPA_AUTO_SIZE: true
REGISTRY_HPA_ENABLE: true
REGISTRY_PVC_ACCESS_MODE: ReadWriteMany
REGISTRY_PVC_ENABLED: true
REGISTRY_STORAGE_CLASS: "nutanix-dynamicfile"
PRISM_ENDPOINT: "PRISM element IP address"
PRISM_USERNAME: "csi-user-prism-element-user"
PRISM_PASSWORD: "csi-user-passoword"
Expand Down

0 comments on commit 4c1197b

Please sign in to comment.