application-gateway-kubernetes-ingress icon indicating copy to clipboard operation
application-gateway-kubernetes-ingress copied to clipboard

AGIC Helm Chart support Service Principal Kubernetes Secret

Open TimDurward opened this issue 2 years ago • 0 comments

Is your feature request related to a problem? Please describe. It will be nice to reference an existing secret in Kubernetes, rather than plainly putting the base64 within the values.yaml file. This helps with people that use Git-Ops and utilize controllers like SealedSecrets and store their Secrets in Git.

Describe the solution you'd like

A Kubernetes Secret

apiVersion: v1
kind: Secret
metadata:
  name: azure-credentials
type: Opaque
data:
  credentials.json: <base64-encoded-credentials>

Deploying AGIC referencing the secret

ingress-azure:
  appgw:
    subscriptionId: your-azure-subscription-id
    resourceGroup: your-azure-resource-group
    name: your-application-gateway-name
  armAuth:
    type: servicePrincipal
-   secretJSON: {}
+   existingSecret: azure-credentials

TimDurward avatar May 23 '23 19:05 TimDurward