i try to install vault with rast internal storage but I’m getting errors when installing on Kubernetes.
i try to install without TLS support as it for internal use only.
in the
i added tls_disable = “true” in override-values.yml
storage "raft" {
path = "/vault/data"
retry_join {
leader_api_addr = "http://vault-0.vault-internal:8200"
tls_disable = "true"
}
retry_join {
leader_api_addr = "http://vault-1.vault-internal:8200"
tls_disable = "true"
}
retry_join {
leader_api_addr = "http://vault-2.vault-internal:8200"
ltls_disable = "true"
}
retry_join {
leader_api_addr = "http://vault-3.vault-internal:8200"
tls_disable = "true"
}
retry_join {
leader_api_addr = "http://vault-4.vault-internal:8200"
tls_disable = "true"
}
}
but I’m getting errors in the pods
Unable to attach or mount volumes: unmounted volumes=[userconfig-tls-server userconfig-tls-ca userconfig-kms-creds], unattached volumes=[data config userconfig-tls-server userconfig-tls-ca userconfig-kms-creds home vault-token-49s7g audit]: timed out waiting for the condition
Then more errors :
MountVolume.SetUp failed for volume "userconfig-tls-server" : secret "tls-server" not found
MountVolume.SetUp failed for volume "userconfig-tls-ca" : secret "tls-ca" not found
MountVolume.SetUp failed for volume "userconfig-tls-server" : secret "tls-server" not found
what I’m doing wrong ?
Thanks