Commit a9f5b3c5 authored by Thong Kuah's avatar Thong Kuah

Merge branch 'ash2k/fix-docs' into 'master'

Fix gitlab-kas local dev docs

See merge request gitlab-org/gitlab!49327
parents d53fc7f5 c4940a45
...@@ -9,19 +9,19 @@ info: To determine the technical writer assigned to the Stage/Group associated w ...@@ -9,19 +9,19 @@ info: To determine the technical writer assigned to the Stage/Group associated w
You can run `kas` and `agentk` locally to test the [Kubernetes Agent](index.md) yourself. You can run `kas` and `agentk` locally to test the [Kubernetes Agent](index.md) yourself.
1. Create a `cfg.yaml` file from the contents of 1. Create a `cfg.yaml` file from the contents of
[`kas_config_example.yaml`](https://gitlab.com/gitlab-org/cluster-integration/gitlab-agent/-/blob/master/doc/kas_config_example.yaml), or this example: [`config_example.yaml`](https://gitlab.com/gitlab-org/cluster-integration/gitlab-agent/-/blob/master/pkg/kascfg/config_example.yaml), or this example:
```yaml ```yaml
listen_agent: agent:
listen:
network: tcp network: tcp
address: 127.0.0.1:8150 address: 127.0.0.1:8150
websocket: false websocket: false
gitops:
poll_period: "10s"
gitlab: gitlab:
address: http://localhost:3000 address: http://localhost:3000
authentication_secret_file: /Users/tkuah/code/ee-gdk/gitlab/.gitlab_kas_secret authentication_secret_file: /Users/tkuah/code/ee-gdk/gitlab/.gitlab_kas_secret
agent:
gitops:
poll_period: "10s"
``` ```
1. Create a `token.txt`. This is the token for 1. Create a `token.txt`. This is the token for
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment