Skip to content

Commit

Permalink
add storagemgmt
Browse files Browse the repository at this point in the history
  • Loading branch information
lmiccini committed May 3, 2024
1 parent 7ab1f5f commit 45325dd
Showing 1 changed file with 46 additions and 0 deletions.
46 changes: 46 additions & 0 deletions va/pidone/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,22 @@ components:
- ../../lib/networking/nad
- ../../lib/control-plane

# Add storagemgmt network template, as it is needed for CephHCI
patches:
- target:
version: v1beta1
kind: NetConfig
name: netconfig
patch: |-
- op: add
path: /spec/networks/-
value:
dnsDomain: _replaced_
name: storagemgmt
subnets:
- _replaced_
mtu: 1500
replacements:
- source:
kind: ConfigMap
Expand Down Expand Up @@ -57,3 +73,33 @@ replacements:
- spec.swift.enabled
options:
create: true
# NetConfig dnsDomain specific to this VA
- source:
kind: ConfigMap
name: network-values
fieldPath: data.storagemgmt.dnsDomain
targets:
- select:
kind: NetConfig
fieldPaths:
- spec.networks.[name=storagemgmt].dnsDomain
# NetConfig MTU specific to this VA
- source:
kind: ConfigMap
name: network-values
fieldPath: data.storagemgmt.mtu
targets:
- select:
kind: NetConfig
fieldPaths:
- spec.networks.[name=storagemgmt].mtu
# NetConfig subnets specific to this VA
- source:
kind: ConfigMap
name: network-values
fieldPath: data.storagemgmt.subnets
targets:
- select:
kind: NetConfig
fieldPaths:
- spec.networks.[name=storagemgmt].subnets

0 comments on commit 45325dd

Please sign in to comment.