diff --git a/chart/Chart.yaml b/chart/Chart.yaml index 986ece5..c51dc29 100644 --- a/chart/Chart.yaml +++ b/chart/Chart.yaml @@ -1,3 +1,3 @@ apiVersion: v2 name: kubooboo-chart -version: 0.3.10 \ No newline at end of file +version: 0.3.11 \ No newline at end of file diff --git a/chart/templates/backend/deployment.yaml b/chart/templates/backend/deployment.yaml index 8b3d030..31bd634 100644 --- a/chart/templates/backend/deployment.yaml +++ b/chart/templates/backend/deployment.yaml @@ -67,4 +67,6 @@ spec: - name: PUBLIC_KEY_LOCATION value: /etc/secrets/PUBLIC_KEY - name: KUBECONFIG_LOCATION - value: /etc/kubeconfig/KUBECONFIG \ No newline at end of file + value: /etc/kubeconfig/KUBECONFIG + - name: CURRENT_NAMESPACE + value: {{ .Release.Namespace }} diff --git a/chart/templates/nodeMonitor/deployment.yaml b/chart/templates/nodeMonitor/deployment.yaml new file mode 100644 index 0000000..08a0dc4 --- /dev/null +++ b/chart/templates/nodeMonitor/deployment.yaml @@ -0,0 +1,28 @@ +apiVersion: apps/v1 +kind: DaemonSet +metadata: + name: node-monitor +spec: + selector: + matchLabels: + dev.dinauer.kubooboo/component: node-monitor + template: + metadata: + labels: + dev.dinauer.kubooboo/component: node-monitor + spec: + tolerations: + - key: node-role.kubernetes.io/control-plane + operator: Exists + effect: NoSchedule + - key: node-role.kubernetes.io/master + operator: Exists + effect: NoSchedule + containers: + - name: node-monitor-pod + image: harbor.dinauer.dev/kubooboo/node-monitor:1 + resources: + requests: + memory: 10Mi + limits: + memory: 50Mi