diff --git a/charts/k8spacket/Chart.yaml b/charts/k8spacket/Chart.yaml index 7f5d8fe..e8c4ef8 100644 --- a/charts/k8spacket/Chart.yaml +++ b/charts/k8spacket/Chart.yaml @@ -5,5 +5,5 @@ description: A Helm chart for k8spacket tool maintainers: - name: k8spacket email: k8spacket@gmail.com -version: 2.0.2 -appVersion: 2.0.0 +version: 2.0.3 +appVersion: 2.0.2 \ No newline at end of file diff --git a/charts/k8spacket/templates/daemonset.yaml b/charts/k8spacket/templates/daemonset.yaml index 1e759cf..bec3b19 100644 --- a/charts/k8spacket/templates/daemonset.yaml +++ b/charts/k8spacket/templates/daemonset.yaml @@ -72,8 +72,10 @@ spec: resources: {{- toYaml .Values.resources | nindent 12 }} env: - - name: K8S_PACKET_NAME_LABEL_VALUE - value: {{ include "k8spacket.name" . }} + - name: K8S_PACKET_API_FIELD_SELECTOR + value: {{ .Values.k8sPacket.api.fieldSelector }} + - name: K8S_PACKET_API_LABEL_SELECTOR + value: {{ .Values.k8sPacket.api.labelSelector }} - name: K8S_PACKET_REVERSE_GEOIP2_DB_PATH value: {{ .Values.k8sPacket.reverseLookup.geoipDBPath }} - name: K8S_PACKET_REVERSE_WHOIS_REGEXP diff --git a/charts/k8spacket/values.yaml b/charts/k8spacket/values.yaml index 685f571..980b2b0 100644 --- a/charts/k8spacket/values.yaml +++ b/charts/k8spacket/values.yaml @@ -55,9 +55,12 @@ tolerations: [] k8sPacket: ## Available plugin releases. Custom plugins can be provided + api: + fieldSelector: status.phase=Running + labelSelector: name=k8spacket plugins: - - https://github.com/k8spacket/plugins/releases/download/v2.0.1/nodegraph-$(arch).so - - https://github.com/k8spacket/plugins/releases/download/v2.0.1/tls-parser-$(arch).so + - https://github.com/k8spacket/plugins/releases/download/v2.0.2/nodegraph-$(arch).so + - https://github.com/k8spacket/plugins/releases/download/v2.0.2/tls-parser-$(arch).so reverseLookup: ## Reverse lookup db file based on GeoLite2 Free Geolocation Data ## See: https://dev.maxmind.com/geoip/geolite2-free-geolocation-data?lang=en