Closed nolte closed 3 years ago
@nolte I have included support for spec.runnerAnnotations
in both versions of TFO (v0.3.10 and v0.4.0-alpha2). If you're using the v0.3.x versions, you can use the terraform-operator helm-chart to install.
There is also a crd update so make sure to install that update too. This command works for me to update the crd:
kubectl apply -f crds/terraform.yaml
Hi, it looks good ! Thanks for the quick support !
Description
Hi, thanks for this nice Operator. We use this Operator for Bootstrapping k8s clusters, and it works good! For the required Secrets we use hashicorp/vault, with the Kubernetes Auth Method .
At some other places we allways use the Agent Sidecar Injector for loading secrets from vault or creating a Vault Access Token. This Sidecar injector will be add some additional Init Container to the deployment and generate the secrets to the FileSystem.
For the configuration of Agent Sidecar Injector you will need some Annotations at our deployment.
At the moment, i din`t see any options, to adding Annotations.
Potential Configuration
Adding a optional field like
runnerAnnotations
of typmap[string]string
, and the Listed annotations will be add to each started container, likeplan, apply, destroy ...
.