diff --git a/kubernetes/helm-charts/node-feature-discovery/Chart.yaml b/kubernetes/helm-charts/node-feature-discovery/Chart.yaml deleted file mode 100644 index eceb438090..0000000000 --- a/kubernetes/helm-charts/node-feature-discovery/Chart.yaml +++ /dev/null @@ -1,15 +0,0 @@ -# -# Copyright (c) 2019 Wind River Systems, Inc. -# -# SPDX-License-Identifier: Apache-2.0 -# - -apiVersion: v1 -description: Node Feature Discovery -home: https://github.com/kubernetes-sigs/node-feature-discovery -maintainers: -- name: node-feature-discovery Authors -name: node-feature-discovery -sources: -- https://github.com/kubernetes-sigs/node-feature-discovery -version: 0.3.0 diff --git a/kubernetes/helm-charts/node-feature-discovery/README.rst b/kubernetes/helm-charts/node-feature-discovery/README.rst deleted file mode 100644 index c20b2ba0c9..0000000000 --- a/kubernetes/helm-charts/node-feature-discovery/README.rst +++ /dev/null @@ -1,17 +0,0 @@ -kubernetes-sigs/node-feature-discovery -====================================== - -This chart runs v0.3.0 of the node-feature-discovery as implemented -at https://github.com/kubernetes-sigs/node-feature-discovery - -This software enables node feature discovery for Kubernetes. It detects -hardware features available on each node in a Kubernetes cluster, and -advertises those features using node labels. - -This chart uses a DaemonSet to spawn a pod on each node in the cluster -to do the actual work. - -The two files under the templates directory are taken directly from -v0.3.0 at the link above. The Docker image specified is the one -published by the upstream team. - diff --git a/kubernetes/helm-charts/node-feature-discovery/templates/namespace.yaml b/kubernetes/helm-charts/node-feature-discovery/templates/namespace.yaml deleted file mode 100644 index cb8c6ae4d5..0000000000 --- a/kubernetes/helm-charts/node-feature-discovery/templates/namespace.yaml +++ /dev/null @@ -1,14 +0,0 @@ -{{/* -# -# Copyright (c) 2019 Wind River Systems, Inc. -# -# SPDX-License-Identifier: Apache-2.0 -# -*/}} - -{{ if ne .Values.namespace "default" }} -apiVersion: v1 -kind: Namespace -metadata: - name: {{ .Values.namespace }} -{{ end }} diff --git a/kubernetes/helm-charts/node-feature-discovery/templates/node-feature-discovery-daemonset.json.tpl b/kubernetes/helm-charts/node-feature-discovery/templates/node-feature-discovery-daemonset.json.tpl deleted file mode 100644 index 45b43a53c1..0000000000 --- a/kubernetes/helm-charts/node-feature-discovery/templates/node-feature-discovery-daemonset.json.tpl +++ /dev/null @@ -1,73 +0,0 @@ -{{/* -# -# Copyright (c) 2019 Wind River Systems, Inc. -# -# SPDX-License-Identifier: Apache-2.0 -# -*/}} - -{ - "apiVersion": "apps/v1", - "kind": "DaemonSet", - "metadata": { - "labels": { - "app": {{ .Values.app_label }} - }, - "namespace": {{ .Values.namespace }}, - "name": {{ .Release.Name }} - }, - "spec": { - "selector": { - "matchLabels": { - "app": {{ .Values.app_label }} - } - }, - "template": { - "metadata": { - "labels": { - "app": {{ .Values.app_label }} - } - }, - "spec": { -{{ if and .Values.node_selector_key .Values.node_selector_value }} - "nodeSelector": { - {{ .Values.node_selector_key }}: {{ .Values.node_selector_value }} - }, -{{ end }} - "hostNetwork": true, - "serviceAccount": {{ .Release.Name }}, - "containers": [ - { - "env": [ - { - "name": "NODE_NAME", - "valueFrom": { - "fieldRef": { - "fieldPath": "spec.nodeName" - } - } - } - ], - "image": "quay.io/kubernetes_incubator/node-feature-discovery:v0.3.0", - "name": {{ .Release.Name }}, - "args": ["--sleep-interval={{ .Values.scan_interval }}s"], - "volumeMounts": [ - { - "name": "host-sys", - "mountPath": "/host-sys" - } - ] - } - ], - "volumes": [ - { - "name": "host-sys", - "hostPath": { - "path": "/sys" - } - } - ] - } - } - } -} diff --git a/kubernetes/helm-charts/node-feature-discovery/templates/rbac.yaml b/kubernetes/helm-charts/node-feature-discovery/templates/rbac.yaml deleted file mode 100644 index 1f0c0e20e8..0000000000 --- a/kubernetes/helm-charts/node-feature-discovery/templates/rbac.yaml +++ /dev/null @@ -1,41 +0,0 @@ -{{/* -# -# Copyright (c) 2019 Wind River Systems, Inc. -# -# SPDX-License-Identifier: Apache-2.0 -# -*/}} - -apiVersion: v1 -kind: ServiceAccount -metadata: - name: {{ .Release.Name }} - namespace: {{ .Values.namespace }} ---- -apiVersion: rbac.authorization.k8s.io/v1 -kind: ClusterRole -metadata: - name: {{ .Release.Name }} -rules: -- apiGroups: - - "" - resources: - - pods - - nodes - verbs: - - get - - patch - - update ---- -apiVersion: rbac.authorization.k8s.io/v1 -kind: ClusterRoleBinding -metadata: - name: {{ .Release.Name }} -roleRef: - apiGroup: rbac.authorization.k8s.io - kind: ClusterRole - name: {{ .Release.Name }} -subjects: -- kind: ServiceAccount - name: {{ .Release.Name }} - namespace: {{ .Values.namespace }} diff --git a/kubernetes/helm-charts/node-feature-discovery/values.yaml b/kubernetes/helm-charts/node-feature-discovery/values.yaml deleted file mode 100644 index 4cd4ae8515..0000000000 --- a/kubernetes/helm-charts/node-feature-discovery/values.yaml +++ /dev/null @@ -1,27 +0,0 @@ -# -# Copyright (c) 2019 Wind River Systems, Inc. -# -# SPDX-License-Identifier: Apache-2.0 -# - -# Default values for node-feature-discovery. -# This is a YAML-formatted file. -# Declare name/value pairs to be passed into your templates. -# name: value - -# namespace to use for chart resources. Must be specified. -namespace: default - -# label for the daemonset to find its pods -app_label: node-feature-discovery - -# docker image to use for the pods -image: quay.io/kubernetes_incubator/node-feature-discovery:v0.3.0 - -# interval (in secs) to scan the node features -scan_interval: 60 - -# key/value pair to match against node labels to select which nodes -# should run the node feature discovery. Defaults to all nodes. -node_selector_key: -node_selector_value: