docs/serving/samples/source-to-url-go/docker-secret.yaml

12 lines
343 B
YAML

apiVersion: v1
kind: Secret
metadata:
name: basic-user-pass
annotations:
build.knative.dev/docker-0: https://index.docker.io/v1/
type: kubernetes.io/basic-auth
data:
# Use 'echo -n "username" | base64' to generate this string
username: REPLACE_ME
# Use 'echo -n "password" | base64' to generate this string
password: REPLACE_ME