Skip to content

Commit 3ee2458

Browse files
committed
dont create secrets file if secretKey not set
1 parent 1adcb2c commit 3ee2458

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

charts/hub-gateway/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,13 @@ type: application
1818
# This is the chart version. This version number should be incremented each time you make changes
1919
# to the chart and its templates, including the app version.
2020
# Versions are expected to follow Semantic Versioning (https://semver.org/)
21-
version: 0.1.3
21+
version: 0.1.4
2222

2323
# This is the version number of the application being deployed. This version number should be
2424
# incremented each time you make changes to the application. Versions are not expected to
2525
# follow Semantic Versioning. They should reflect the version the application is using.
2626
# It is recommended to use it with quotes.
27-
appVersion: "0.1.3"
27+
appVersion: "0.1.4"
2828
sources:
2929
- https://github.com/holaplex/helm-charts
3030

charts/hub-gateway/templates/opa-s3-creds.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
1-
{{- if .Values.apisixPlugins.opa.serviceName }}
2-
{{- $opa := .Values.apisixPlugins.opa -}}
1+
{{- if .Values.apisixPlugins.opa.s3.secretKey }}
2+
{{- $s3 := .Values.apisixPlugins.opa.s3 -}}
33
{{- $namespace := .Values.hubNamespace -}}
4-
{{- $s3 := $opa.s3 -}}
54
apiVersion: v1
65
kind: Secret
76
metadata:

0 commit comments

Comments
 (0)