Commit e736aa76 authored by Pierre Smeyers's avatar Pierre Smeyers
Browse files

docs: refer to ':latest' image tag

parent 667c3e0b
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -184,7 +184,7 @@ deploy-job:
  services:
    # add Vault Secrets Provider as a service
    # requires that VAULT_ROLE_ID and VAULT_SECRET_ID are declared as secret variables
    - name: registry.gitlab.com/to-be-continuous/tools/vault-secrets-provider:master
    - name: registry.gitlab.com/to-be-continuous/tools/vault-secrets-provider:latest
      alias: vault-secrets-provider
  before_script:
    # retrieve some token from Vault server
@@ -220,7 +220,7 @@ Then run the Vault Secrets Provider Docker image:
export VAULT_BASE_URL=http://host.docker.internal:8200/v1
# maybe use other authentication variables (depending on your Auth Method)
export VAULT_TOKEN=dev-token
docker run -it -p 80:80 --env VAULT_BASE_URL --env VAULT_TOKEN registry.gitlab.com/to-be-continuous/tools/vault-secrets-provider:master
docker run -it -p 80:80 --env VAULT_BASE_URL --env VAULT_TOKEN registry.gitlab.com/to-be-continuous/tools/vault-secrets-provider:latest
```

Then you may simply debug the API using `curl` with the `-w "\n>> status: %{http_code}\n"` option. Examples:
+1 −1
Original line number Diff line number Diff line
@@ -259,7 +259,7 @@
        <span id="LC9" class="line" lang="yaml">  <span class="na">services</span><span class="pi">:</span> </span>
        <span id="LC10" class="line" lang="yaml">    <span class="c1"># add Vault Secrets Provider as a service</span></span>
        <span id="LC11" class="line" lang="yaml">    <span class="c1"># requires that VAULT_ROLE_ID and VAULT_SECRET_ID are declared as secret variables</span></span>
        <span id="LC12" class="line" lang="yaml">    <span class="pi">-</span> <span class="na">name</span><span class="pi">:</span> <span class="s">vault-secrets-provider:master</span></span>
        <span id="LC12" class="line" lang="yaml">    <span class="pi">-</span> <span class="na">name</span><span class="pi">:</span> <span class="s">vault-secrets-provider:latest</span></span>
        <span id="LC13" class="line" lang="yaml">      <span class="na">alias</span><span class="pi">:</span> <span class="s">vault-secrets-provider</span></span>
        <span id="LC14" class="line" lang="yaml">  <span class="na">before-script</span><span class="pi">:</span></span>
        <span id="LC15" class="line" lang="yaml">    <span class="c1"># retrieve some token from Vault server</span></span>