forked from rook/rook
Finish the process of deprecating holder pods by removing Rook's ability to deploy them. The intent of this change is to make the most superficial changes possible to accomplish this. There are still remnants of code in Rook (particularly the CSI controller) that helped configure or deploy holder pods. Due to the risk of breaking some features, cleanup work of hose remnants will be deferred for future work. Signed-off-by: Blaine Gardner <blaine.gardner@ibm.com>
46 lines
921 B
YAML
46 lines
921 B
YAML
---
|
|
apiVersion: k8s.cni.cncf.io/v1
|
|
kind: NetworkAttachmentDefinition
|
|
metadata:
|
|
name: public-net
|
|
namespace: default
|
|
labels:
|
|
annotations:
|
|
spec:
|
|
config: |
|
|
{
|
|
"cniVersion": "0.3.1",
|
|
"type": "macvlan",
|
|
"master": "eth0",
|
|
"mode": "bridge",
|
|
"ipam": {
|
|
"type": "whereabouts",
|
|
"range": "192.168.20.0/24",
|
|
"routes": [
|
|
{"dst": "192.168.29.0/24"}
|
|
]
|
|
}
|
|
}
|
|
---
|
|
# IPv6 address here (with IPv4 above) makes this unsuitable for CephCluster use, but it is okay for
|
|
# testing validation tool
|
|
apiVersion: k8s.cni.cncf.io/v1
|
|
kind: NetworkAttachmentDefinition
|
|
metadata:
|
|
name: cluster-net
|
|
namespace: default
|
|
labels:
|
|
annotations:
|
|
spec:
|
|
config: |
|
|
{
|
|
"cniVersion": "0.3.1",
|
|
"type": "macvlan",
|
|
"master": "eth0",
|
|
"mode": "bridge",
|
|
"ipam": {
|
|
"type": "whereabouts",
|
|
"range": "fc00::/96"
|
|
}
|
|
}
|