bcgov / bcgov/gwa-cli

`gwa apply` should support Certificate resources

Open
#129 0 comments 0 reactions 0 assignees View on GitHub
jira
Dominant language
Go
Stars
8
Forks
1
PR merge metrics
No merged PRs in 30d

Description

Certificates (required for mTLS and custom domains) must be loaded with `gwa pg` - there is no support in `apply`. As a result, teams who want to add certs need to use `gwa pg` for all their gateway config and then `apply` for other resources. `apply` should be a one-stop shop.

Certificates and SNIs (being Kong objects) should probably follow the way GatewayConfig is handled (declarative, replacement of existing resources). I think - confirm how to approach this!

AC
- `gwa apply` supports `kind: Certificate` alongside other resources and gateway config.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by tracing the `gwa apply` command and compare its resource handling with `gwa pg` and the existing GatewayConfig path. Confirm how Certificate and SNI Kong objects should be represented and whether they use declarative replacement. Done means `gwa apply` accepts `kind: Certificate` alongside other resources and gateway config, with coverage for the supported behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
cli
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.