From 9df98716491a01b5eaa35b328b0c080ba73f85e0 Mon Sep 17 00:00:00 2001 From: John Belamaric Date: Tue, 16 May 2023 14:33:39 -0700 Subject: [PATCH 1/4] Update to use Nephio build and local images --- nephio-webui/config-map.yaml | 6 +++--- nephio-webui/deployment.yaml | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/nephio-webui/config-map.yaml b/nephio-webui/config-map.yaml index 2a64780..630608d 100644 --- a/nephio-webui/config-map.yaml +++ b/nephio-webui/config-map.yaml @@ -16,7 +16,7 @@ data: # Content Security Policy csp: # Allows images to be pulled from GitHub and Nepio - img-src: ["'self'", 'data:', 'https://raw.githubusercontent.com', 'https://nephio.org'] + img-src: ["'self'", 'data:'] # Config as Data Plugin configuration configAsData: @@ -35,5 +35,5 @@ data: branding: title: Nephio header: - logoUrl: https://raw.githubusercontent.com/nephio-project/one-summit-22-workshop/main/images/nephio_logo_colorwhite_horizontal.svg - backgroundImageUrl: https://nephio.org/wp-content/uploads/sites/6/2022/04/Hero-1.png + logoUrl: /images/nephio_logo_colorwhite_horizontal.svg + backgroundImageUrl: /images/nephio-background.png diff --git a/nephio-webui/deployment.yaml b/nephio-webui/deployment.yaml index a2d08db..f2b9611 100644 --- a/nephio-webui/deployment.yaml +++ b/nephio-webui/deployment.yaml @@ -17,7 +17,7 @@ spec: terminationGracePeriodSeconds: 10 containers: - name: main - image: gcr.io/kpt-dev/kpt-backstage-plugins/backstage-plugin-cad:nephio + image: nephio/kpt-backstage-plugins:1658540988043366400 imagePullPolicy: Always args: - "--config" From 585409d1d03cfa2b3df37618ce7537a0a85c65e1 Mon Sep 17 00:00:00 2001 From: John Belamaric Date: Tue, 16 May 2023 21:21:59 -0700 Subject: [PATCH 2/4] Correct URLs for images --- nephio-webui/config-map.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nephio-webui/config-map.yaml b/nephio-webui/config-map.yaml index 630608d..5e0a0ca 100644 --- a/nephio-webui/config-map.yaml +++ b/nephio-webui/config-map.yaml @@ -35,5 +35,5 @@ data: branding: title: Nephio header: - logoUrl: /images/nephio_logo_colorwhite_horizontal.svg - backgroundImageUrl: /images/nephio-background.png + logoUrl: http://localhost:7007/nephio_logo_colorwhite_horizontal.svg + backgroundImageUrl: http://localhost:7007/nephio-background.png From 1d62e102fd086ef478fa0d2198ffb68372472e33 Mon Sep 17 00:00:00 2001 From: John Belamaric Date: Fri, 26 May 2023 15:19:28 -0700 Subject: [PATCH 3/4] Latest container image --- nephio-webui/deployment.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nephio-webui/deployment.yaml b/nephio-webui/deployment.yaml index f2b9611..8abc4f4 100644 --- a/nephio-webui/deployment.yaml +++ b/nephio-webui/deployment.yaml @@ -17,7 +17,7 @@ spec: terminationGracePeriodSeconds: 10 containers: - name: main - image: nephio/kpt-backstage-plugins:1658540988043366400 + image: nephio/kpt-backstage-plugins:1661717771710369792 imagePullPolicy: Always args: - "--config" From 244703a60d96019daca21a59ec5c88dabef34f85 Mon Sep 17 00:00:00 2001 From: John Belamaric Date: Sat, 27 May 2023 08:40:40 -0700 Subject: [PATCH 4/4] Use latest tag for now --- nephio-webui/deployment.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nephio-webui/deployment.yaml b/nephio-webui/deployment.yaml index 8abc4f4..8a1375d 100644 --- a/nephio-webui/deployment.yaml +++ b/nephio-webui/deployment.yaml @@ -17,7 +17,7 @@ spec: terminationGracePeriodSeconds: 10 containers: - name: main - image: nephio/kpt-backstage-plugins:1661717771710369792 + image: nephio/kpt-backstage-plugins:latest imagePullPolicy: Always args: - "--config"