From 93be51bce528f64bef7f351d49467c1e251b341a Mon Sep 17 00:00:00 2001 From: Pat Riehecky Date: Tue, 19 Dec 2023 11:03:03 -0600 Subject: [PATCH 1/2] Remove bogus fields and undefined finalizer --- felix-ns.yaml | 9 --------- 1 file changed, 9 deletions(-) diff --git a/felix-ns.yaml b/felix-ns.yaml index 6eab25e..a366c38 100644 --- a/felix-ns.yaml +++ b/felix-ns.yaml @@ -1,9 +1,7 @@ apiVersion: v1 kind: Namespace metadata: - creationTimestamp: "2023-11-01T23:57:26Z" labels: - kubernetes.io/metadata.name: felix pod-security.kubernetes.io/audit: privileged pod-security.kubernetes.io/audit-version: latest pod-security.kubernetes.io/enforce: privileged @@ -11,10 +9,3 @@ metadata: pod-security.kubernetes.io/warn: privileged pod-security.kubernetes.io/warn-version: latest name: felix - resourceVersion: "236668" - uid: 145644c0-175d-42c3-9d32-d2b2c5874d8f -spec: - finalizers: - - kubernetes -status: - phase: Active From f571dfd921174892b41eba87b47df6ef2d78fc66 Mon Sep 17 00:00:00 2001 From: Pat Riehecky Date: Tue, 19 Dec 2023 11:05:20 -0600 Subject: [PATCH 2/2] Add standard labels --- felix-ns.yaml | 1 + flx-dev-plugin.yaml | 9 +++++++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/felix-ns.yaml b/felix-ns.yaml index a366c38..1a5a679 100644 --- a/felix-ns.yaml +++ b/felix-ns.yaml @@ -1,3 +1,4 @@ +--- apiVersion: v1 kind: Namespace metadata: diff --git a/flx-dev-plugin.yaml b/flx-dev-plugin.yaml index e37a9df..1720aa3 100644 --- a/flx-dev-plugin.yaml +++ b/flx-dev-plugin.yaml @@ -1,3 +1,4 @@ +--- apiVersion: apps/v1 kind: DaemonSet metadata: @@ -5,14 +6,20 @@ metadata: namespace: felix labels: app: flx-plugin + app.kubernetes.io/app: flx-plugin + app.kubernetes.io/component: flx-plugin spec: selector: matchLabels: name: flx-plugin + app.kubernetes.io/app: flx-plugin + app.kubernetes.io/component: flx-plugin template: metadata: labels: name: flx-plugin + app.kubernetes.io/app: flx-plugin + app.kubernetes.io/component: flx-plugin spec: initContainers: - name: flx-driver @@ -45,5 +52,3 @@ spec: - name: opt hostPath: path: /opt/felix/drivers_rcc - -