openbao-helm/test/unit
Christopher Swenson daa2b3b236
Set default object selector for webhooks to exclude injector itself (#736)
Set default object selector for webhooks to exclude injector itself

If `injector.failurePolicy` is set to `Fail`, there is a race condition
where if the mutating webhook config is setup before the injector, then
the injector can fail to start because it tries to inject itself.

We can work around this by ignoring the injector pod in in the webhook
by default.

Thanks to @joeyslalom for the object selector to exclude the pod.

Fixes https://github.com/hashicorp/vault-k8s/issues/258
2022-05-24 09:48:01 -07:00
..
_helpers.bash add unit tests that use helm template 2018-09-03 08:42:25 -07:00
csi-clusterrole.bats Fix unit test assertions (#693) 2022-02-25 19:01:04 +00:00
csi-clusterrolebinding.bats Fix unit test assertions (#693) 2022-02-25 19:01:04 +00:00
csi-daemonset.bats VAULT-571 Matching documented behavior and consul (#703) 2022-03-21 09:50:23 -07:00
csi-serviceaccount.bats Fix unit test assertions (#693) 2022-02-25 19:01:04 +00:00
injector-clusterrole.bats Helm 3 support (#195) 2020-02-06 08:44:38 -08:00
injector-clusterrolebinding.bats Helm 3 support (#195) 2020-02-06 08:44:38 -08:00
injector-deployment.bats Implement support for Topology Spread Constraints (#652) 2022-04-28 10:47:40 -07:00
injector-disruptionbudget.bats Support policy/v1 disruptionbudget beyond kube 1.21 (#710) 2022-04-04 22:26:16 -07:00
injector-leader-elector.bats Add namespace to injector-leader-elector role, rolebinding and secret (#683) 2022-03-16 15:31:59 -07:00
injector-mutating-webhook.bats Set default object selector for webhooks to exclude injector itself (#736) 2022-05-24 09:48:01 -07:00
injector-psp-role.bats VAULT-571 Matching documented behavior and consul (#703) 2022-03-21 09:50:23 -07:00
injector-psp-rolebinding.bats VAULT-571 Matching documented behavior and consul (#703) 2022-03-21 09:50:23 -07:00
injector-psp.bats VAULT-571 Matching documented behavior and consul (#703) 2022-03-21 09:50:23 -07:00
injector-service.bats VAULT-571 Matching documented behavior and consul (#703) 2022-03-21 09:50:23 -07:00
injector-serviceaccount.bats Helm 3 support (#195) 2020-02-06 08:44:38 -08:00
schema.bats VAULT-571 Matching documented behavior and consul (#703) 2022-03-21 09:50:23 -07:00
server-clusterrolebinding.bats Restore missing 'vault' service account (#737) 2022-05-24 08:27:17 -07:00
server-configmap.bats Add Raft HA support (#229) 2020-03-18 15:49:14 -04:00
server-dev-statefulset.bats Add logLevel and logFormat values for Vault (#488) 2021-04-08 11:18:16 -04:00
server-ha-active-service.bats allow to configure publishNotReadyAddresses on server services (#694) 2022-03-17 17:52:53 +00:00
server-ha-disruptionbudget.bats Support policy/v1 disruptionbudget beyond kube 1.21 (#710) 2022-04-04 22:26:16 -07:00
server-ha-standby-service.bats allow to configure publishNotReadyAddresses on server services (#694) 2022-03-17 17:52:53 +00:00
server-ha-statefulset.bats Implement support for Topology Spread Constraints (#652) 2022-04-28 10:47:40 -07:00
server-headless-service.bats allow to configure publishNotReadyAddresses on server services (#694) 2022-03-17 17:52:53 +00:00
server-ingress.bats Fix unit test assertions (#693) 2022-02-25 19:01:04 +00:00
server-network-policy.bats Allow configurable egress for server network policy (#389) 2020-12-16 12:30:24 -05:00
server-psp-role.bats Support PodSecurityPolicy (#177) 2020-06-25 23:42:52 -07:00
server-psp-rolebinding.bats Support PodSecurityPolicy (#177) 2020-06-25 23:42:52 -07:00
server-psp.bats Support PodSecurityPolicy (#177) 2020-06-25 23:42:52 -07:00
server-route.bats Fix unit test assertions (#693) 2022-02-25 19:01:04 +00:00
server-service.bats allow to configure publishNotReadyAddresses on server services (#694) 2022-03-17 17:52:53 +00:00
server-serviceaccount.bats Fix unit test assertions (#693) 2022-02-25 19:01:04 +00:00
server-statefulset.bats Implement support for Topology Spread Constraints (#652) 2022-04-28 10:47:40 -07:00
server-test.bats VAULT-571 Matching documented behavior and consul (#703) 2022-03-21 09:50:23 -07:00
ui-service.bats VAULT-571 Matching documented behavior and consul (#703) 2022-03-21 09:50:23 -07:00