mirror of https://github.com/knative/docs.git
fix the alignment problem (#940)
This commit is contained in:
parent
e349cae069
commit
87731ebb01
|
@ -77,18 +77,17 @@ available, but these are the key steps:
|
||||||
|
|
||||||
1. Create a new `Service Account` manifest which is used to link the build
|
1. Create a new `Service Account` manifest which is used to link the build
|
||||||
process to the secret. Save this file as `service-account.yaml`:
|
process to the secret. Save this file as `service-account.yaml`:
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
apiVersion: v1
|
||||||
|
kind: ServiceAccount
|
||||||
|
metadata:
|
||||||
|
name: build-bot
|
||||||
|
secrets:
|
||||||
|
- name: basic-user-pass
|
||||||
|
```
|
||||||
|
|
||||||
```yaml
|
1. After you have created the manifest files, apply them to your cluster with `kubectl`:
|
||||||
apiVersion: v1
|
|
||||||
kind: ServiceAccount
|
|
||||||
metadata:
|
|
||||||
name: build-bot
|
|
||||||
secrets:
|
|
||||||
- name: basic-user-pass
|
|
||||||
```
|
|
||||||
|
|
||||||
1. After you have created the manifest files, apply them to your cluster with
|
|
||||||
`kubectl`:
|
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
$ kubectl apply --filename docker-secret.yaml
|
$ kubectl apply --filename docker-secret.yaml
|
||||||
|
|
Loading…
Reference in New Issue