From fe093681f39b66ce051776f031846a9c61c9b50f Mon Sep 17 00:00:00 2001 From: David Schneider Date: Thu, 17 Dec 2020 22:28:32 +0100 Subject: [PATCH] Rename dsbrng25b to dvob --- .github/workflows/main.yml | 4 ++-- README.md | 12 ++++++------ go.mod | 2 +- vault/app.yaml | 2 +- 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 09b5d06..8d52002 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -38,9 +38,9 @@ jobs: - name: Docker Hub Release env: - KO_DOCKER_REPO: dsbrng25b + KO_DOCKER_REPO: dvob run: | - echo "${{ secrets.DOCKERHUB_TOKEN }}" | docker login -u dsbrng25b --password-stdin + echo "${{ secrets.DOCKERHUB_TOKEN }}" | docker login -u dvob --password-stdin ko publish -t "${GITHUB_REF##*/}" -t latest -B . - name: Github Release diff --git a/README.md b/README.md index 89e1c5a..7cdccf2 100644 --- a/README.md +++ b/README.md @@ -115,7 +115,7 @@ spec: spec: containers: - name: service1 - image: dsbrng25b/k8s-s2s-auth + image: dvob/k8s-s2s-auth args: - client - http://service2.mytest.svc @@ -217,7 +217,7 @@ spec: spec: containers: - name: service2 - image: dsbrng25b/k8s-s2s-auth + image: dvob/k8s-s2s-auth args: - server - --mode @@ -278,7 +278,7 @@ The decoding of the signature shows an error `base64: invalid input` because in We can start the server with the `--mode` option set to `jwt-pubkey` to see the authentication with the public key in action. We do this just locally that we don't have to create a configmap for `sa.pub`. ``` -docker run -it -p 8080:8080 --rm -v $(pwd)/sa.pub:/sa.pub dsbrng25b/k8s-s2s-auth server --mode jwt-pubkey --pub-key /sa.pub +docker run -it -p 8080:8080 --rm -v $(pwd)/sa.pub:/sa.pub dvob/k8s-s2s-auth server --mode jwt-pubkey --pub-key /sa.pub ``` Test it with curl: @@ -358,7 +358,7 @@ spec: spec: containers: - name: service2 - image: dsbrng25b/k8s-s2s-auth + image: dvob/k8s-s2s-auth args: - server - --mode @@ -390,7 +390,7 @@ spec: spec: containers: - name: service1 - image: dsbrng25b/k8s-s2s-auth + image: dvob/k8s-s2s-auth args: - client - http://service2.mytest.svc @@ -493,7 +493,7 @@ spec: spec: containers: - name: service2 - image: dsbrng25b/k8s-s2s-auth + image: dvob/k8s-s2s-auth args: - server - --mode diff --git a/go.mod b/go.mod index cd4ec1a..1f97daf 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/dsbrng25b/k8s-s2s-auth +module github.com/dvob/k8s-s2s-auth go 1.15 diff --git a/vault/app.yaml b/vault/app.yaml index d2aa53e..c826a82 100644 --- a/vault/app.yaml +++ b/vault/app.yaml @@ -17,7 +17,7 @@ spec: spec: containers: - name: http-server - image: dsbrng25b/k8s-s2s-auth:latest + image: dvob/k8s-s2s-auth:latest imagePullPolicy: IfNotPresent args: - app