Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions charts/flash-pay/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 3 additions & 1 deletion charts/flash-pay/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 4 additions & 4 deletions charts/flash-pay/values.yaml
Original file line number Diff line number Diff line change
@@ -1,19 +1,20 @@
image:
repository: lnflash/flash-pay:0.6.0
digest: "sha256:3fb143946096ca58b3e64fb4f9d6562aa060bb356e6bc5c94bcd289e9bcdc8bb"
repository: lnflash/flash-pay
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

will removing the versioning make it look for the "latest" by default?
I think we should be ok if the digest overrides all else.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, it'll look for the digest by default. tag: would be it's own field

digest: "sha256:a910ae53ce13159f0c4f52b7aae35445a50fba94e3b702b279cfa58eb4e41486"
git_ref: "cf1ff28" # Not used by helm
ingress:
enabled: false
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
Expand All @@ -25,4 +26,3 @@ redis:
existingSecret: galoy-redis-pw
existingSecretPasswordKey: redis-password
resources: {}

14 changes: 14 additions & 0 deletions package-releases.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did you mean to leave this code? it seems like debug logging.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, added intentionally. It updates the Charts var based on cli input, allowing us to build a single package, rather than all

for chart in "${CHARTS[@]}"; do
echo "Processing $chart..."
helm dependency update "charts/$chart"
Expand Down
Loading