Pod keeps failing and restarting with FailedPostStartHook

113 Views Asked by At

When I go to add something like below to my envFrom in spec.template.spec.containers and remove envconsul the pod will fail to start then gets stuck in a reboot loop and all it says is FailedPostStartHook is failing which all it does is create a tmp directory.

- secretRef:
    name: [SECRET NAME]

I double checked the name of the secret compared to the name defined in my VaultStaticSecret and it matches perfectly. The VaultStaticSecret also created fine and no errors.

0

There are 0 best solutions below