re-org for argo
This commit is contained in:
2288
manifests/0-metallb-native.yaml
Normal file
2288
manifests/0-metallb-native.yaml
Normal file
File diff suppressed because it is too large
Load Diff
8
manifests/1-address-pool.yaml
Normal file
8
manifests/1-address-pool.yaml
Normal file
@@ -0,0 +1,8 @@
|
||||
apiVersion: metallb.io/v1beta1
|
||||
kind: IPAddressPool
|
||||
metadata:
|
||||
name: lab
|
||||
namespace: metallb-system
|
||||
spec:
|
||||
addresses:
|
||||
- 192.168.0.240-192.168.0.250
|
||||
5
manifests/2-advertise.yaml
Normal file
5
manifests/2-advertise.yaml
Normal file
@@ -0,0 +1,5 @@
|
||||
apiVersion: metallb.io/v1beta1
|
||||
kind: L2Advertisement
|
||||
metadata:
|
||||
name: l2-advert
|
||||
namespace: metallb-system
|
||||
23
manifests/3-argo-metal-rbac.yaml
Normal file
23
manifests/3-argo-metal-rbac.yaml
Normal file
@@ -0,0 +1,23 @@
|
||||
apiVersion: rbac.authorization.k8s.io/v1
|
||||
kind: Role
|
||||
metadata:
|
||||
name: argocd-metallb-crs
|
||||
namespace: metallb-system
|
||||
rules:
|
||||
- apiGroups: ["metallb.io"]
|
||||
resources: ["ipaddresspools", "l2advertisements"]
|
||||
verbs: ["get", "list", "watch", "create", "update", "patch", "delete"]
|
||||
---
|
||||
apiVersion: rbac.authorization.k8s.io/v1
|
||||
kind: RoleBinding
|
||||
metadata:
|
||||
name: argocd-metallb-crs
|
||||
namespace: metallb-system
|
||||
subjects:
|
||||
- kind: ServiceAccount
|
||||
name: openshift-gitops-argocd-application-controller
|
||||
namespace: openshift-gitops
|
||||
roleRef:
|
||||
apiGroup: rbac.authorization.k8s.io
|
||||
kind: Role
|
||||
name: argocd-metallb-crs
|
||||
Reference in New Issue
Block a user