diff --git a/charts/flash-pay/Chart.yaml b/charts/flash-pay/Chart.yaml index d3237254..efae585c 100644 --- a/charts/flash-pay/Chart.yaml +++ b/charts/flash-pay/Chart.yaml @@ -13,11 +13,11 @@ 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.0.7 +version: 0.0.8 # 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 # follow Semantic Versioning. They should reflect the version the application is using. -appVersion: 0.0.2 +appVersion: 0.1.0 dependencies: - name: galoy-nostr condition: galoy-nostr.enabled diff --git a/charts/flash-pay/templates/deployment.yaml b/charts/flash-pay/templates/deployment.yaml index feed095c..1958395a 100644 --- a/charts/flash-pay/templates/deployment.yaml +++ b/charts/flash-pay/templates/deployment.yaml @@ -34,7 +34,9 @@ spec: - name: GRAPHQL_HOSTNAME_INTERNAL value: "{{ .Values.oathkeeper.service.host }}:{{ .Values.oathkeeper.service.port }}" - name: NOSTR_PUBKEY - value: "{{ .Values.nostrPubkey }}" + value: "{{ .Values.nostrPubkeyHex }}" + - name: FLASH_WEBHOOK_HOSTNAME + value: "{{ .Values.ibexWebhookUrl}}" - name: REDIS_MASTER_NAME value: "mymaster" - name: REDIS_PASSWORD diff --git a/charts/flash-pay/values.yaml b/charts/flash-pay/values.yaml index 6be3e42a..afc3d418 100644 --- a/charts/flash-pay/values.yaml +++ b/charts/flash-pay/values.yaml @@ -1,6 +1,6 @@ image: - repository: lnflash/flash-pay:0.6.0 - digest: "sha256:3fb143946096ca58b3e64fb4f9d6562aa060bb356e6bc5c94bcd289e9bcdc8bb" + repository: lnflash/flash-pay + digest: "sha256:a910ae53ce13159f0c4f52b7aae35445a50fba94e3b702b279cfa58eb4e41486" git_ref: "cf1ff28" # Not used by helm ingress: enabled: false @@ -8,12 +8,13 @@ service: port: 80 type: ClusterIP graphqlUrl: +ibexWebhookUrl: oathkeeper: service: host: flash-oathkeeper-proxy.flash.svc.cluster.local port: 4455 graphqlWebsocketUrl: -nostrPubkey: "npub1qqqqqqrm4aehwh4t0mknaxvaqvhxdrvrnquz7a7npdgll3lezkpqq3j5a5" +nostrPubkeyHex: galoy-nostr: enabled: true fullnameOverride: galoy-nostr @@ -25,4 +26,3 @@ redis: existingSecret: galoy-redis-pw existingSecretPasswordKey: redis-password resources: {} - diff --git a/package-releases.sh b/package-releases.sh index a518a2bb..e3892d37 100755 --- a/package-releases.sh +++ b/package-releases.sh @@ -11,6 +11,20 @@ CHARTS=( REGISTRY="oci://ghcr.io/brh28" +# Check if a specific chart was provided as argument +if [ -n "$1" ]; then + # Validate that the provided chart exists in CHARTS array + if [[ " ${CHARTS[@]} " =~ " $1 " ]]; then + CHARTS=("$1") + echo "Packaging single chart: $1" + else + echo "Error: Chart '$1' not found in available charts: ${CHARTS[@]}" + exit 1 + fi +else + echo "Packaging all charts..." +fi + for chart in "${CHARTS[@]}"; do echo "Processing $chart..." helm dependency update "charts/$chart"