diff --git a/charts/hub-gateway/Chart.yaml b/charts/hub-gateway/Chart.yaml index 5f908c4..d2acd4f 100644 --- a/charts/hub-gateway/Chart.yaml +++ b/charts/hub-gateway/Chart.yaml @@ -19,7 +19,7 @@ type: application # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: "0.13.0" +version: "0.14.0" # 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/charts/hub-gateway/values.yaml b/charts/hub-gateway/values.yaml index 7b121ff..06ca74b 100644 --- a/charts/hub-gateway/values.yaml +++ b/charts/hub-gateway/values.yaml @@ -22,7 +22,7 @@ routes: orgLookup: enabled: true credits: - enabled: false + enabled: true regexUri: - "/graphql" - "/" @@ -44,7 +44,7 @@ routes: orgLookup: enabled: true credits: - enabled: false + enabled: true regexUri: - "/graphql" - "/" @@ -68,7 +68,7 @@ routes: orgLookup: enabled: true credits: - enabled: false + enabled: true regexUri: - "/graphql" - "/" diff --git a/charts/hub-nfts/Chart.yaml b/charts/hub-nfts/Chart.yaml index 1710515..64f6865 100644 --- a/charts/hub-nfts/Chart.yaml +++ b/charts/hub-nfts/Chart.yaml @@ -18,7 +18,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.6 +version: 0.2.0 # 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/charts/hub-nfts/templates/deployment.yaml b/charts/hub-nfts/templates/deployment.yaml index 244b9ac..c5c908a 100644 --- a/charts/hub-nfts/templates/deployment.yaml +++ b/charts/hub-nfts/templates/deployment.yaml @@ -47,6 +47,10 @@ spec: mountPath: /app/keypair.json subPath: keypair.json readOnly: true + - name: credit-sheet + mountPath: /app/credit-sheet.toml + subPath: credit-sheet.toml + readOnly: true livenessProbe: httpGet: path: /health @@ -62,6 +66,10 @@ spec: secret: secretName: {{ print (include "hub-nfts.fullname" .) "-keypair" }} optional: false + - name: credit-sheet + configMap: + name: {{ required "must provide credit sheet configmap name" .Values.creditSheetName }} + optional: false {{- with .Values.nodeSelector }} nodeSelector: {{- toYaml . | nindent 8 }} diff --git a/charts/hub-nfts/templates/environment.yaml b/charts/hub-nfts/templates/environment.yaml index 9a26d8b..ad28f5e 100644 --- a/charts/hub-nfts/templates/environment.yaml +++ b/charts/hub-nfts/templates/environment.yaml @@ -11,4 +11,5 @@ data: KAFKA_SSL: {{ required "must set kafka ssl" .kafkaSsl | quote }} IPFS_ENDPOINT: {{ required "must set ipfs endpoint" .ipfsEndpoint | quote }} NFT_STORAGE_API_ENDPOINT: {{ required "must set nft storage api endpoint" .nftStorageApiEndpoint | quote }} + CREDIT_SHEET: /app/credit-sheet.toml {{- end }} diff --git a/charts/hub-nfts/values.yaml b/charts/hub-nfts/values.yaml index 0012ff5..68f81ee 100644 --- a/charts/hub-nfts/values.yaml +++ b/charts/hub-nfts/values.yaml @@ -72,6 +72,8 @@ tolerations: [] affinity: {} +creditSheetName: + secrets: enabled: true entries: