Skip to content

Commit

Permalink
chore: Use verified publisher image hashicorp/vault
Browse files Browse the repository at this point in the history
Signed-off-by: Tanmay Pereira Naik <tanmay.naik@thoughtworks.com>
  • Loading branch information
tanmay-pnaik committed Jul 19, 2023
1 parent af464c1 commit 661ce1d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion deploy/dev/multi-dc/test/multi-dc-raft.sh
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ function infra_setup {

node_setup tertiary 172.18.3.255/25

docker run -d --rm --network kind -e VAULT_DEV_ROOT_TOKEN_ID="${VAULT_TOKEN}" --name central-vault vault:"${VAULT_VERSION}"
docker run -d --rm --network kind -e VAULT_DEV_ROOT_TOKEN_ID="${VAULT_TOKEN}" --name central-vault hashicorp/vault:"${VAULT_VERSION}"
CENTRAL_VAULT_ADDRESS=$(docker inspect central-vault --format '{{.NetworkSettings.Networks.kind.IPAddress}}')
export CENTRAL_VAULT_ADDRESS
}
Expand Down
2 changes: 1 addition & 1 deletion pkg/apis/vault/v1alpha1/vault_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -445,7 +445,7 @@ func (spec *VaultSpec) getListener() map[string]interface{} {
// GetVaultImage returns the Vault image to use
func (spec *VaultSpec) GetVaultImage() string {
if spec.Image == "" {
return "vault:latest"
return "hashicorp/vault:latest"
}
return spec.Image
}
Expand Down
2 changes: 1 addition & 1 deletion test/acceptance_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,7 @@ func prepareEnv(t *testing.T, testName string, k8sRes []string) *k8s.KubectlOpti
if v.(map[string]interface{})["kind"] == "Vault" {
if i, ok := v.(map[string]interface{})["spec"].(map[string]interface{}); ok {
if i["image"] != "" {
i["image"] = "vault:" + vaultVersion
i["image"] = "hashicorp/vault:" + vaultVersion
}
}

Expand Down

0 comments on commit 661ce1d

Please sign in to comment.