There was a change to the autoInit job configmap .
This change introduced a new variable: VAULT_SERVICE_HOST.
The value of this variable is not set anywhere, causing the out-of-the-box configuration of Vault to fail to deploy as the init job is unable to connect to the Vault service.
Designs
Child items ...
Show closed items
Linked items 0
Link issues together to show that they're related or that one is blocking others.
Learn more.
Activity
Sort or filter
Newest first
Oldest first
Show all activity
Show comments only
Show history only
Samchanged title from AurtoInit job fails with out-of-the-box configuration to AutoInit job fails with out-of-the-box configuration
changed title from AurtoInit job fails with out-of-the-box configuration to AutoInit job fails with out-of-the-box configuration
Hi @sam.james would you mind pasting in some sanitized logs and overrides and environment information? VAULT_SERVICE_HOST is a var set internally within the pod environment and since adding it we haven't seen any issues and has actually improved the reliability of the job
The init job's init container will be stuck in the Init:0/1 status. Its logs are as follows:
% kubectl logs -n vault vault-vault-job-init-ht89r vault-init-job---=== Waiting For Vault Server ===------=== Waiting For Vault Server ===------=== Waiting For Vault Server ===------=== Waiting For Vault Server ===------=== Waiting For Vault Server ===---
Actually @sam.james we can use {{ include "vault.name" . | upper }} which will be vault-vault and looks like that's the name used in our release cluster as well while release name is still only vault