diff --git a/charts/matrix-stack/ci/synapse-hookshot-secrets-externally-values.yaml b/charts/matrix-stack/ci/synapse-hookshot-secrets-externally-values.yaml new file mode 100644 index 00000000..84947a7f --- /dev/null +++ b/charts/matrix-stack/ci/synapse-hookshot-secrets-externally-values.yaml @@ -0,0 +1,70 @@ +# Copyright 2024-2025 New Vector Ltd +# Copyright 2025-2026 Element Creations Ltd +# +# SPDX-License-Identifier: AGPL-3.0-only + +# source_fragments: hookshot-additional-secrets-externally.yaml hookshot-ingress.yaml hookshot-minimal.yaml hookshot-redis-secrets-externally.yaml hookshot-redis.yaml hookshot-secrets-externally.yaml init-secrets-disabled.yaml server-name.yaml synapse-additional-secrets-externally.yaml synapse-minimal.yaml synapse-postgres-secrets-externally.yaml synapse-postgres.yaml synapse-secrets-externally.yaml +# DO NOT EDIT DIRECTLY. Edit the fragment files to add / modify / remove values + +# postgres don't have any required properties to be set and defaults to enabled +deploymentMarkers: + enabled: false +elementAdmin: + enabled: false +elementWeb: + enabled: false +hookshot: + additional: + example-value: + configSecret: "{{ $.Release.Name }}-hookshot-external" + configSecretKey: config + appserviceRegistration: + secret: "{{ $.Release.Name }}-hookshot-external-registration" + secretKey: registration.yaml + enabled: true + ingress: + host: hookshot.ess.localhost + passkey: + secret: "{{ $.Release.Name }}-hookshot-external-passkey" + secretKey: passfile + redis: + host: "external-redis.example.com" + password: + secret: "{{ $.Release.Name }}-redis-credentials" + secretKey: "password" + port: 6379 +initSecrets: + enabled: false +matrixAuthenticationService: + enabled: false +matrixRTC: + enabled: false +serverName: ess.localhost +synapse: + additional: + 00-userconfig.yaml: + configSecret: "{{ $.Release.Name }}-synapse-secrets" + configSecretKey: "00-userconfig.yaml" + appservices: + - secret: "{{ $.Release.Name }}-synapse-external" + secretKey: bridge_registration.yaml + ingress: + host: synapse.ess.localhost + macaroon: + secret: "{{ $.Release.Name }}-synapse-external" + secretKey: macaroon + postgres: + database: synapse + host: ess-postgres + password: + secret: "{{ $.Release.Name }}-synapse-external" + secretKey: postgresPassword + user: synapse_user + registrationSharedSecret: + secret: "{{ $.Release.Name }}-synapse-external" + secretKey: registrationSharedSecret + signingKey: + secret: "{{ $.Release.Name }}-synapse-external" + secretKey: signingKey +wellKnownDelegation: + enabled: false diff --git a/charts/matrix-stack/ci/synapse-hookshot-secrets-in-helm-values.yaml b/charts/matrix-stack/ci/synapse-hookshot-secrets-in-helm-values.yaml new file mode 100644 index 00000000..9ece8f36 --- /dev/null +++ b/charts/matrix-stack/ci/synapse-hookshot-secrets-in-helm-values.yaml @@ -0,0 +1,77 @@ +# Copyright 2024-2025 New Vector Ltd +# Copyright 2025-2026 Element Creations Ltd +# +# SPDX-License-Identifier: AGPL-3.0-only + +# source_fragments: hookshot-additional-in-helm.yaml hookshot-ingress.yaml hookshot-minimal.yaml hookshot-redis-secrets-in-helm.yaml hookshot-redis.yaml hookshot-secrets-in-helm.yaml init-secrets-disabled.yaml server-name.yaml synapse-additional-in-helm.yaml synapse-minimal.yaml synapse-postgres-secrets-in-helm.yaml synapse-postgres.yaml synapse-secrets-in-helm.yaml +# DO NOT EDIT DIRECTLY. Edit the fragment files to add / modify / remove values + +# postgres don't have any required properties to be set and defaults to enabled +deploymentMarkers: + enabled: false +elementAdmin: + enabled: false +elementWeb: + enabled: false +hookshot: + additional: + example-value: + config: | + example: value + appserviceRegistration: + value: | + rate_limited: false + namespaces: + users: + - regex: "@_github_.*:{{ $.Release.Name }}" + exclusive: true + id: hookshot + hs_token: "CHANGEME-cie9nehee2ohSahloh3Ahquii3ningai" + as_token: "CHANGEME-ushi5ieMaebooJahquaechucha7Owua2" + url: "http://hookshot:9993" + sender_localpart: "hookshot" + enabled: true + ingress: + host: hookshot.ess.localhost + passkey: + value: | + CHANGEME + -----BEGIN PRIVATE KEY----- + MIIJQQIBADANBgkqhkiG9w0BAQEFAASCCSswggknAgEAAoICAQDLtjXE9gRU9GVE + 2Kt8VQORnOOlNlPvTwosXeSvJKl0llRW3ajDqpfbHfG2BOTvnHEqfO5KQGXCwBmx + 3a0sbQ0x4upx47vOpX+zpOaF3gor + -----END PRIVATE KEY----- + redis: + host: "external-redis.example.com" + password: + value: "test-redis-password" + port: 6379 +initSecrets: + enabled: false +matrixAuthenticationService: + enabled: false +matrixRTC: + enabled: false +serverName: ess.localhost +synapse: + additional: + 00-userconfig.yaml: + config: | + push: + jitter_delay: 10 + ingress: + host: synapse.ess.localhost + macaroon: + value: CHANGEME-eek3Eigoh8ux8laeTingeej1 + postgres: + database: synapse + host: ess-postgres + password: + value: CHANGEME-ooWo6jeidahhei3Hae0eer9U + user: synapse_user + registrationSharedSecret: + value: CHANGEME-ooWo6jeidahhei3Hae0eer9U + signingKey: + value: ed25519 0 bNQOzBUDszff7Ax81z6w0uZ1IPWoxYaazT7emaZEfpw +wellKnownDelegation: + enabled: false diff --git a/tests/manifests/__init__.py b/tests/manifests/__init__.py index d819f9a9..0ccb3bc7 100644 --- a/tests/manifests/__init__.py +++ b/tests/manifests/__init__.py @@ -738,6 +738,8 @@ _extra_secret_values_files_to_test = [ "matrix-authentication-service-synapse-syn2mas-dry-run-secrets-externally-values.yaml", "matrix-authentication-service-synapse-syn2mas-migrate-secrets-in-helm-values.yaml", "matrix-authentication-service-synapse-syn2mas-migrate-secrets-externally-values.yaml", + "synapse-hookshot-secrets-in-helm-values.yaml", + "synapse-hookshot-secrets-externally-values.yaml", ] _extra_services_values_files_to_test = [