Skip to content

Conversation

@andponlin
Copy link
Contributor

The situation with configs has been a bit messy in HDS owing to history. There are some defaults in code, some values baked into the build product, some are in an additional config file that is inserted in the Docker image build and some are provided by env-vars.

I am going to be trying to get all of the config variables defined in the build-product config or env-vars to clean this up. This PR brings in a few new env-vars to the Deployment in preparation for an upcoming release.

NOTE this change assumes the presence of a new secret for the env-var HDS_AUTHENTICATION_JWS_SHARED_KEY. You will need to create this secret. The string value should be some arbitrary UUID. This was value was previously re-generated each time HDS started up, but in the future for active:active redundancy (multiple Pods), this value will need to be consistent across Pods.

# Conflicts:
#	deployments/haikudepotserver.yml
@andponlin andponlin force-pushed the hds-env-vars-oct2025 branch from 0d247ee to 0f14fd9 Compare October 21, 2025 10:24
@nielx
Copy link
Member

nielx commented Oct 26, 2025

I have generated the haikudepotserver-jws secret, with key name shared-key and the string of a UUID generated with the UUID4 algorithm.

@nielx nielx merged commit 8889047 into haiku:main Oct 26, 2025
@nielx
Copy link
Member

nielx commented Oct 26, 2025

The new config has been applied

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants