Skip to content
Snippets Groups Projects
Verified Commit 27ef2bfb authored by Sheogorath's avatar Sheogorath :european_castle:
Browse files

refactor(iot): Move Namespace to base

parent 10bd1d73
No related branches found
No related tags found
No related merge requests found
apiVersion: kustomize.config.k8s.io/v1beta1 apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization kind: Kustomization
resources: resources:
- ../../../shared/networkpolicies/allow-from-monitoring.yaml - namespace.yaml
- shelly-exporter.yaml - shelly-exporter.yaml
- ../../../shared/networkpolicies/allow-from-monitoring.yaml
patchesStrategicMerge: patchesStrategicMerge:
- networkpolicy.yaml - networkpolicy.yaml
apiVersion: v1
kind: Namespace
metadata:
name: iot
---
apiVersion: v1
kind: ServiceAccount
metadata:
name: flux-reconciler
namespace: iot
---
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
name: flux-reconciler
namespace: iot
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: admin
subjects:
- kind: ServiceAccount
name: flux-reconciler
namespace: iot
apiVersion: v1
kind: Namespace
metadata:
name: iot
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment