Merge commit 'fe564d72279f4ab061b961dd528623f0ed272667' as 'cluster-config'
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
resources:
|
||||
- github.com/redhat-cop/gitops-catalog/nmstate/aggregate/overlays/default
|
||||
- node-network-configuration-policy.yaml
|
||||
|
||||
patches:
|
||||
- patch: |-
|
||||
- op: replace
|
||||
path: /spec/channel
|
||||
value: "stable"
|
||||
target:
|
||||
kind: Subscription
|
||||
name: kubernetes-nmstate-operator
|
||||
- patch: |-
|
||||
- op: add
|
||||
path: /metadata/annotations/argocd.argoproj.io~1sync-options
|
||||
value: SkipDryRunOnMissingResource=true
|
||||
target:
|
||||
kind: NMState
|
||||
name: nmstate
|
||||
@@ -0,0 +1,68 @@
|
||||
apiVersion: nmstate.io/v1
|
||||
kind: NodeNetworkConfigurationPolicy
|
||||
metadata:
|
||||
name: hub-server
|
||||
annotations:
|
||||
argocd.argoproj.io/sync-options: SkipDryRunOnMissingResource=true
|
||||
spec:
|
||||
desiredState:
|
||||
interfaces:
|
||||
- name: enp0s31f6
|
||||
state: absent
|
||||
type: ethernet
|
||||
ipv4:
|
||||
dhcp: true
|
||||
enabled: true
|
||||
auto-dns: true
|
||||
|
||||
# interfaces:
|
||||
# - name: bond0
|
||||
# description: Bond with ports enp4s0 and enp0s31f6
|
||||
# type: bond
|
||||
# state: up
|
||||
# copy-mac-from: enp4s0
|
||||
# ipv4:
|
||||
# dhcp: false
|
||||
# enabled: true
|
||||
# link-aggregation:
|
||||
# mode: active-backup
|
||||
# options:
|
||||
# miimon: '140'
|
||||
# port:
|
||||
# - enp4s0
|
||||
# - enp0s31f6
|
||||
# mtu: 1450
|
||||
# - name: br1
|
||||
# description: Linux bridge with bond0 as a port
|
||||
# type: linux-bridge
|
||||
# state: up
|
||||
# mtu: 9000
|
||||
# ipv4:
|
||||
# enabled: false
|
||||
# bridge:
|
||||
# options:
|
||||
# stp:
|
||||
# enabled: false
|
||||
# port:
|
||||
# - name: bond0
|
||||
|
||||
# interfaces:
|
||||
# - name: enp4s0
|
||||
# state: up
|
||||
# type: ethernet
|
||||
# ipv4:
|
||||
# dhcp: false
|
||||
# enabled: true
|
||||
# - name: enp0s31f6
|
||||
# state: up
|
||||
# type: ethernet
|
||||
# ipv4:
|
||||
# dhcp: true
|
||||
# enabled: true
|
||||
# auto-dns: true
|
||||
# routes:
|
||||
# config:
|
||||
# - destination: 0.0.0.0/0
|
||||
# next-hop-address: 192.168.1.1
|
||||
# next-hop-interface: enp4s0
|
||||
# table-id: 254
|
||||
Reference in New Issue
Block a user