We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 04b06dd + 51bb596 commit 9dc4271Copy full SHA for 9dc4271
docs/spec/v1beta2/gitrepositories.md
@@ -131,6 +131,23 @@ data:
131
password: <BASE64>
132
```
133
134
+#### Bearer token authentication
135
+
136
+To authenticate towards a Git repository over HTTPS using bearer token
137
+authentication (in other words: using a `Authorization: Bearer` header), the referenced
138
+Secret is expected to contain the token in `.data.bearerToken`.
139
140
+```yaml
141
+---
142
+apiVersion: v1
143
+kind: Secret
144
+metadata:
145
+ name: bearer-token-auth
146
+type: Opaque
147
+data:
148
+ bearerToken: <BASE64>
149
+```
150
151
#### HTTPS Certificate Authority
152
153
To provide a Certificate Authority to trust while connecting with a Git
0 commit comments