diff --git a/charts/matrix-stack/ci/matrix-authentication-service-minimal-values.yaml b/charts/matrix-stack/ci/matrix-authentication-service-minimal-values.yaml index 1285a86a..86c89386 100644 --- a/charts/matrix-stack/ci/matrix-authentication-service-minimal-values.yaml +++ b/charts/matrix-stack/ci/matrix-authentication-service-minimal-values.yaml @@ -8,7 +8,7 @@ elementWeb: enabled: false initSecrets: - enabled: false + enabled: true matrixAuthenticationService: enabled: true @@ -23,38 +23,6 @@ matrixAuthenticationService: password: value: CHANGEME-teel5aghaenohhohghiavee5Koh8ahwo - synapseSharedSecret: - value: CHANGEME-iaw8eeSef4zeefie8ii3akien9tiaYah - - synapseOIDCClientSecret: - value: CHANGEME-eiv6wae8shooPhie4ief8ru2egahbah0 - - encryptionSecret: - value: CHANGEME-ahohhohgiavee5Koh8ahwo - - privateKeys: - rsa: - value: | - -----BEGIN RSA PRIVATE KEY----- - MIIEowIBAAKCAQEA6521bYjZ789034nLz+oXJyVWqgUdDmRlKxvTfHsBhFtGpOaAoGCCqGSM49AwEHoUQDQgAE6521bYjZ789034nLz+oXJyVWqgUdDmRlKxvTfHsBhFtGpOaAoGCCqGSM49 - ------END RSA PRIVATE KEY----- - ecdsaPrime256v1: - value: | - -----BEGIN EC PRIVATE KEY----- - MHcCAQEEIYjZ789034nLz+oXJyVWqgUdDmRlKxvTfHsBhFtGpOaAoGCCqGSM49 - AwEHoUQDQgAE6521bYjZ789034nLz+oXJyVWqgUdDmRlKxvTfHsBhFtGpOaAoGCCqGSM49 - AwEAAKBcZW5jb2duZXQwgggYMIINL6Ado018734nLz+oXJyVWqgUdDmRlKxvTfHsBhFtGpOaAoGCCqGSM49AwEH - ------END EC PRIVATE KEY----- - ecdsaSecp256k1: - value: | - -----BEGIN EC PRIVATE KEY----- - MHcCAQEEZFQZ789034nLz+oXJyVWqgUdDmRlKxvTfHsBhFtGpOaAoGCCqGSM49AwEHoUQDQgAE6521bYjZ789034nLz+oXJyVWqgUdDmRlKxvTfHsBhFtGpOaAoGCCqGSM49 - ------END EC PRIVATE KEY----- - ecdsaSecp384r1: - value: | - -----BEGIN EC PRIVATE KEY----- - MHcCAQEEZFQZ789034nLz+oXJyVWqgUdDmRlKxvTfHsBhFtGpOaAoGCCqGSM49AwEHoUQDQgAE6521bYjZ789034nLz+oXJyVWqgUdDmRlKxvTfHsBhFtGpOaAoGCCqGSM49 - ------END EC PRIVATE KEY----- synapse: enabled: false diff --git a/charts/matrix-stack/ci/synapse-minimal-values.yaml b/charts/matrix-stack/ci/synapse-minimal-values.yaml index 45c0689a..bcfb9c8e 100644 --- a/charts/matrix-stack/ci/synapse-minimal-values.yaml +++ b/charts/matrix-stack/ci/synapse-minimal-values.yaml @@ -5,7 +5,7 @@ serverName: ess.localhost initSecrets: - enabled: false + enabled: true elementWeb: enabled: false @@ -19,10 +19,6 @@ synapse: registrationSharedSecret: value: CHANGEME-ooWo6jeidahhei3Hae0eer9U - macaroon: - value: CHANGEME-eek3Eigoh8ux8laeTingeej1 - signingKey: - value: ed25519 0 bNQOzBUDszff7Ax81z6w0uZ1IPWoxYaazT7emaZEfpw postgres: host: ess-postgres diff --git a/tests/manifests/test_pod_pull_secrets.py b/tests/manifests/test_pod_pull_secrets.py index 838c0970..7e8befbd 100644 --- a/tests/manifests/test_pod_pull_secrets.py +++ b/tests/manifests/test_pod_pull_secrets.py @@ -64,7 +64,16 @@ async def test_local_pull_secrets(component, values, base_values, make_templates assert "imagePullSecrets" in template["spec"]["template"]["spec"], f"{id} should have an imagePullSecrets" secret_names = [x["name"] for x in template["spec"]["template"]["spec"]["imagePullSecrets"]] - if any_container_uses_matrix_tools_image: + if containers_only_uses_matrix_tools_image: + assert len(template["spec"]["template"]["spec"]["imagePullSecrets"]) == 2, ( + f"Expected {id} to have 2 image pull secrets" + ) + assert "matrix-tools-secret" in secret_names and "global-secret" in secret_names, ( + f"Expected {id} to have image pull secret names: local-secret, global-secret, " + f"got {','.join(secret_names)}" + ) + + elif any_container_uses_matrix_tools_image: assert len(template["spec"]["template"]["spec"]["imagePullSecrets"]) == 3, ( f"Expected {id} to have 3 image pull secrets" )