diff --git a/flow-helm-chart-0.1.2.tgz b/flow-helm-chart-0.1.2.tgz new file mode 100644 index 0000000..95541a2 Binary files /dev/null and b/flow-helm-chart-0.1.2.tgz differ diff --git a/flow/Chart.yaml b/flow/Chart.yaml index 1781788..a55dbc7 100644 --- a/flow/Chart.yaml +++ b/flow/Chart.yaml @@ -15,7 +15,7 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 0.1.1 +version: 0.1.2 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to diff --git a/flow/templates/virtual-service.yml b/flow/templates/virtual-service.yml index 32a3c39..b8eaddd 100644 --- a/flow/templates/virtual-service.yml +++ b/flow/templates/virtual-service.yml @@ -21,7 +21,9 @@ spec: number: {{ .Values.virtualService.destinationPort }} corsPolicy: allowOrigins: - - exact: "*" + {{- range $k, $v := .Values.virtualService.allowOrigins }} + - {{ $k }}: {{ $v | quote }} + {{- end }} allowHeaders: {{ range .Values.virtualService.allowHeaders }} - {{ . | quote }} diff --git a/flow/values.yaml b/flow/values.yaml index 5496883..2742039 100644 --- a/flow/values.yaml +++ b/flow/values.yaml @@ -77,7 +77,9 @@ virtualService: destinationPort: 8080 healthCheckPath: /health allowOrigins: - - exact: "*" + exact: "https://1flow.org" +# prefix: "/v1" +# regex: "" allowHeaders: - Content-Type - Authorization diff --git a/index.yaml b/index.yaml index 29488f4..057b8ad 100644 --- a/index.yaml +++ b/index.yaml @@ -3,7 +3,17 @@ entries: flow-helm-chart: - apiVersion: v2 appVersion: 1.16.0 - created: "2024-06-28T14:02:14.627465Z" + created: "2024-06-28T14:26:09.9304Z" + description: A Helm chart for Kubernetes + digest: fea51eefb8b730252916fac6373a35d61d44ba7c9cc8a527ac7b7cd4a6fb7571 + name: flow-helm-chart + type: application + urls: + - flow-helm-chart-0.1.2.tgz + version: 0.1.2 + - apiVersion: v2 + appVersion: 1.16.0 + created: "2024-06-28T14:26:09.930109Z" description: A Helm chart for Kubernetes digest: 97190966ce1069b0188a7ad825ef070b3274d37d25841e1b9ee12415edf0e268 name: flow-helm-chart @@ -11,4 +21,4 @@ entries: urls: - flow-helm-chart-0.1.1.tgz version: 0.1.1 -generated: "2024-06-28T14:02:14.627161Z" +generated: "2024-06-28T14:26:09.928618Z"