Azure / aks-app-routing-operator

Kubernetes operator that implements AKS Application Routing
https://learn.microsoft.com/en-us/azure/aks/app-routing
MIT License
29 stars 20 forks source link

adds tls reconciler #155

Closed OliverMKing closed 3 months ago

OliverMKing commented 5 months ago

Description

Adds a tls reconciler that adds the TLS portion to Ingresses that have the keyvault tls cert managed by us. We reconcile the Ingress object to point to the managed secret that contains the cert pulled from keyvault if the Ingress contains a specific annotation.

To use this feature, users will need to add the kubernetes.azure.com/tls-cert-keyvault-managed: true annotation to their Ingress.

Essentially, the reconcile logic is as follows:

Type of change

Please delete options that are not relevant.

How Has This Been Tested?

unit

Checklist:

coveralls commented 5 months ago

Pull Request Test Coverage Report for Build 8391179182

Details


Changes Missing Coverage Covered Lines Changed/Added Lines %
pkg/controller/controller.go 0 4 0.0%
pkg/controller/keyvault/ingress_tls.go 44 69 63.77%
<!-- Total: 49 78 62.82% -->
Totals Coverage Status
Change from base Build 8391177511: -0.4%
Covered Lines: 2656
Relevant Lines: 3343

💛 - Coveralls
OliverMKing commented 5 months ago

/ok-to-test sha=8177500

OliverMKing commented 5 months ago

/ok-to-test sha=b886254

OliverMKing commented 5 months ago

/ok-to-test sha=0f31414

OliverMKing commented 5 months ago

/ok-to-test sha=cec8cd3

OliverMKing commented 5 months ago

/ok-to-test sha=acfd433

OliverMKing commented 3 months ago

/ok-to-test sha=28adffb

davidgamero commented 3 months ago

in the description,

If the Ingress contains both required Ingresses

this is referring to annotations right?

OliverMKing commented 3 months ago

in the description,

If the Ingress contains both required Ingresses

this is referring to annotations right?

yes