From 034258f87fbd22bc0170371bf14cadf33522d34a Mon Sep 17 00:00:00 2001 From: kitianFresh <1549722424@qq.com> Date: Fri, 6 May 2022 17:28:07 +0800 Subject: [PATCH] add fadvisor 0.3.0. add cross origin for nginx --- charts/crane/templates/craned-deployment.yaml | 1 + charts/fadvisor/Chart.yaml | 8 ++++++-- charts/fadvisor/values.yaml | 2 +- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/charts/crane/templates/craned-deployment.yaml b/charts/crane/templates/craned-deployment.yaml index 6ed5d52..bfee11c 100644 --- a/charts/crane/templates/craned-deployment.yaml +++ b/charts/crane/templates/craned-deployment.yaml @@ -194,6 +194,7 @@ data: add_header Cache-Control "must-revalidate"; add_header Cache-Control "max-age=300"; add_header ETag "1.90.0-rc.0"; + add_header Access-Control-Allow-Origin *; listen 9090; listen [::]:9090; location / { diff --git a/charts/fadvisor/Chart.yaml b/charts/fadvisor/Chart.yaml index 261d26a..ca41def 100644 --- a/charts/fadvisor/Chart.yaml +++ b/charts/fadvisor/Chart.yaml @@ -10,11 +10,15 @@ keywords: - resources - cost-visualization - cost-breakdown + - cost-comparator + - serveless + - serverful + - multi-cloud sources: - https://github.com/gocrane/fadvisor type: application -version: 0.2.0 +version: 0.3.0 -appVersion: v0.2.0 \ No newline at end of file +appVersion: v0.3.0 \ No newline at end of file diff --git a/charts/fadvisor/values.yaml b/charts/fadvisor/values.yaml index 9115196..a80a67d 100644 --- a/charts/fadvisor/values.yaml +++ b/charts/fadvisor/values.yaml @@ -7,7 +7,7 @@ replicaCount: 1 image: repository: "docker.io/gocrane/fadvisor" pullPolicy: Always - tag: v0.2.0 + tag: v0.3.0 imagePullSecrets: [] nameOverride: "fadvisor"