Skip to content

Commit ad93921

Browse files
committed
make basic-auth valid in the examples
1 parent d57da3a commit ad93921

1 file changed

Lines changed: 4 additions & 18 deletions

File tree

input/kube-cli/site-linking.md

Lines changed: 4 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -174,23 +174,6 @@ To link sites through a proxy, you create a Secret containing the proxy configur
174174
3. Copy the generated `link.yaml` file to the linking site.
175175

176176
4. On the linking site, create a Secret with the proxy configuration:
177-
```yaml
178-
apiVersion: v1
179-
kind: Secret
180-
metadata:
181-
name: my-proxy-config
182-
type: kubernetes.io/basic-auth
183-
stringData:
184-
host: proxy.example.com
185-
port: "3128"
186-
```
187-
Apply the Secret:
188-
```bash
189-
kubectl apply -f proxy-secret.yaml
190-
```
191-
192-
**📌 NOTE**
193-
If your proxy requires authentication, add the username and password to the Secret:
194177
```yaml
195178
apiVersion: v1
196179
kind: Secret
@@ -203,7 +186,10 @@ To link sites through a proxy, you create a Secret containing the proxy configur
203186
username: myuser
204187
password: mypassword
205188
```
206-
189+
190+
**📌 NOTE**
191+
If your proxy does not require authentication, remove the username and password.
192+
207193
5. On the linking site, edit the `link.yaml` file to add the proxy configuration in the settings section:
208194
```yaml
209195
apiVersion: skupper.io/v2alpha1

0 commit comments

Comments
 (0)