bcgov / gwa-api

Gateway Admin API for self-service of Kong configuration, ACL management and BCDC Catalog updates for API metadata
Apache License 2.0
6 stars 4 forks source link

Services using mtls are not able to reference a root CA #115

Closed ikethecoder closed 4 months ago

ikethecoder commented 5 months ago

If the property services.ca_certificates is specified, an error is returned Tag Validation Errors: string indices must be integers, not 'str'.

It should allow the ca_certificates to be set without error.

rustyjux commented 5 months ago

@ikethecoder wrote (in Jira):

The other consideration too is that the gwa v2 CLI apply should handle GatewayCertificate as well as GatewayService. So that the certificate can be registered as part of the same sync process.

We also identified the need for GatewayUpstream

and we will also require updates in gwa-cli to properly handle upstreams (e.g. in gwa status)