From 537635c990369b142b7d8953b42eb77257b3aa95 Mon Sep 17 00:00:00 2001 From: Kenny Leung Date: Wed, 16 Feb 2022 21:16:16 -0800 Subject: [PATCH 1/2] Move k8s objects out of the default namespace Signed-off-by: Kenny Leung --- config/rekor.yaml | 4 +++- config/watcher.yaml | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/config/rekor.yaml b/config/rekor.yaml index ed700364d..d7d861802 100644 --- a/config/rekor.yaml +++ b/config/rekor.yaml @@ -16,6 +16,7 @@ apiVersion: apps/v1 kind: Deployment metadata: + namespace: rekor name: rekor-server labels: app: rekor-server @@ -82,6 +83,7 @@ spec: apiVersion: v1 kind: Service metadata: + namespace: rekor name: rekor-server spec: selector: @@ -91,4 +93,4 @@ spec: - protocol: TCP port: 80 targetPort: 3000 ---- \ No newline at end of file +--- diff --git a/config/watcher.yaml b/config/watcher.yaml index 0dd78cbc4..7c0a437f8 100644 --- a/config/watcher.yaml +++ b/config/watcher.yaml @@ -16,6 +16,7 @@ apiVersion: apps/v1 kind: Deployment metadata: + namespace: rekor name: rekor-watcher labels: app: rekor-watcher From c9686919de6577ac132aa02a87c2d930e412e430 Mon Sep 17 00:00:00 2001 From: Kenny Leung Date: Wed, 16 Feb 2022 22:18:22 -0800 Subject: [PATCH 2/2] append -system to namespace to avoid confusion Signed-off-by: Kenny Leung --- config/rekor.yaml | 4 ++-- config/watcher.yaml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/config/rekor.yaml b/config/rekor.yaml index d7d861802..5a7cdceb0 100644 --- a/config/rekor.yaml +++ b/config/rekor.yaml @@ -16,7 +16,7 @@ apiVersion: apps/v1 kind: Deployment metadata: - namespace: rekor + namespace: rekor-system name: rekor-server labels: app: rekor-server @@ -83,7 +83,7 @@ spec: apiVersion: v1 kind: Service metadata: - namespace: rekor + namespace: rekor-system name: rekor-server spec: selector: diff --git a/config/watcher.yaml b/config/watcher.yaml index 7c0a437f8..072eb2028 100644 --- a/config/watcher.yaml +++ b/config/watcher.yaml @@ -16,7 +16,7 @@ apiVersion: apps/v1 kind: Deployment metadata: - namespace: rekor + namespace: rekor-system name: rekor-watcher labels: app: rekor-watcher