mirror of
https://github.com/outbackdingo/Biohazard.git
synced 2026-01-28 10:18:26 +00:00
fix(smartctl-exporter): use priv ns
This commit is contained in:
@@ -3,7 +3,7 @@ apiVersion: helm.toolkit.fluxcd.io/v2beta2
|
||||
kind: HelmRelease
|
||||
metadata:
|
||||
name: &app smartctl-exporter
|
||||
namespace: monitoring
|
||||
namespace: *app
|
||||
spec:
|
||||
interval: 5m
|
||||
chart:
|
||||
|
||||
@@ -5,10 +5,10 @@ metadata:
|
||||
name: 1-core-monitoring-smartctl-exporter-app
|
||||
namespace: flux-system
|
||||
labels: &l
|
||||
app.kubernetes.io/name: "smartctl-exporter"
|
||||
app.kubernetes.io/name: &app "smartctl-exporter"
|
||||
spec:
|
||||
commonMetadata:
|
||||
labels: *l
|
||||
path: ./kube/deploy/core/monitoring/smartctl-exporter/app
|
||||
targetNamespace: "monitoring"
|
||||
targetNamespace: *app
|
||||
dependsOn: []
|
||||
@@ -2,4 +2,5 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- ns.yaml
|
||||
- ks.yaml
|
||||
|
||||
10
kube/deploy/core/monitoring/smartctl-exporter/ns.yaml
Normal file
10
kube/deploy/core/monitoring/smartctl-exporter/ns.yaml
Normal file
@@ -0,0 +1,10 @@
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Namespace
|
||||
metadata:
|
||||
name: smartctl-exporter
|
||||
labels:
|
||||
kustomize.toolkit.fluxcd.io/prune: disabled
|
||||
pod-security.kubernetes.io/enforce: &ps privileged
|
||||
pod-security.kubernetes.io/audit: *ps
|
||||
pod-security.kubernetes.io/warn: *ps
|
||||
Reference in New Issue
Block a user