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

Feature/custom certs #130

Closed rustyjux closed 1 week ago

rustyjux commented 1 week ago

Description

Fixes:

Types of changes

Checklist

Further comments

rustyjux commented 1 week ago

Currently deployed in dev (Silver, Gold/DR) at 5ba7708

Can see example route in Gold - https://console.apps.gold.devops.gov.bc.ca/k8s/ns/b8840c-dev/routes/wild-ns-gw-41c0c-webapps.gov.bc.ca from:

# contains .api.gov.bc.ca certificate which is also valid for webapps.gov.bc.ca
certificates:
  - cert: "NORMAL_DATA_API_CERT"
    key: "NORMAL_DATA_API_KEY"
    tags: [ns.gw-41c0c]
    id: 73600400-dc9b-45be-9518-47cb0e6b203e
    snis:
      - name: webapps.gov.bc.ca
        id: 79009c9e-0f4d-40b5-9707-bf2fe9f50502
        tags: [ns.gw-41c0c]
services:
  - name: that-custom-one
    host: httpbin.org
    tags: [ns.gw-41c0c]
    port: 443
    protocol: https
    routes:
      - name: test-aps-webapps
        tags: [ns.gw-41c0c, random]
        hosts:
          - webapps.gov.bc.ca
  - name: another-non-custom-one
    host: httpbin.org
    tags: [ns.gw-41c0c]
    port: 443
    protocol: https
    routes:
      - name: that-non-custom-one
        tags: [ns.gw-41c0c]
        hosts:
          - new.api.gov.bc.ca
rustyjux commented 1 week ago

@ikethecoder I believe I have address our issues in the last set of commits