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

feat(iot): Move to new kustomize-optimised config

parent 98ae7dd9
No related branches found
No related tags found
No related merge requests found
...@@ -6,8 +6,8 @@ resources: ...@@ -6,8 +6,8 @@ resources:
- shelly-exporter.yaml - shelly-exporter.yaml
- shelly-ht-monitor.yaml - shelly-ht-monitor.yaml
- ../../../shared/networkpolicies/allow-from-monitoring.yaml - ../../../shared/networkpolicies/allow-from-monitoring.yaml
patchesStrategicMerge: patches:
- networkpolicy.yaml - path: networkpolicy.yaml
configMapGenerator: configMapGenerator:
- name: iot-grafana-dashboards - name: iot-grafana-dashboards
files: files:
...@@ -15,3 +15,7 @@ configMapGenerator: ...@@ -15,3 +15,7 @@ configMapGenerator:
options: options:
labels: labels:
grafana_dashboard: iot grafana_dashboard: iot
components:
- ../../../shared/components/flux-namespace-admin
- ../../../shared/components/namespace-baseline
\ No newline at end of file
...@@ -2,30 +2,4 @@ apiVersion: v1 ...@@ -2,30 +2,4 @@ apiVersion: v1
kind: Namespace kind: Namespace
metadata: metadata:
name: iot name: iot
labels: labels: {}
pod-security.kubernetes.io/audit: restricted
pod-security.kubernetes.io/enforce: baseline
pod-security.kubernetes.io/warn: restricted
pod-security.kubernetes.io/audit-version: v1.26
pod-security.kubernetes.io/enforce-version: v1.23
pod-security.kubernetes.io/warn-version: v1.26
---
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
...@@ -4,7 +4,6 @@ metadata: ...@@ -4,7 +4,6 @@ metadata:
name: shelly-exporter name: shelly-exporter
namespace: iot namespace: iot
spec: spec:
serviceAccountName: flux-reconciler
releaseName: shelly-exporter releaseName: shelly-exporter
chart: chart:
spec: spec:
......
...@@ -4,9 +4,11 @@ namespace: iot ...@@ -4,9 +4,11 @@ namespace: iot
resources: resources:
- ../../base/iot - ../../base/iot
- certificate.yaml - certificate.yaml
- ../../../shared/applications/oauth2-proxy.yaml
- oauth2.yaml - oauth2.yaml
- rainer.yaml - rainer.yaml
- shelly.yaml - shelly.yaml
- shelly-ht-monitor.yaml - shelly-ht-monitor.yaml
- monitoring.yaml - monitoring.yaml
components:
- ../../../shared/components/oauth2-proxy
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