Commit 0a1d7f29 authored by Sergio Gimenez's avatar Sergio Gimenez
Browse files

Add docs for managing secrets

parent a96cbc9b
Loading
Loading
Loading
Loading
+23 −2
Original line number Diff line number Diff line
@@ -9,6 +9,21 @@ cd ansible
ansible-playbook playbooks/scenarios/full-deployment.yml
```

## Handling Secrets

For sensitive information like passwords or tokens, avoid committing them to the repository. Instead, create a `secrets.yml` file in the `ansible/` directory (this file is git-ignored by default).

1. Create `ansible/secrets.yml`:
```yaml
lite2edge_registry_username: "your.username"
lite2edge_registry_password: "your-token-or-password"
```

2. Run the playbook passing the secrets file:
```bash
ansible-playbook playbooks/scenarios/full-deployment.yml -e @secrets.yml
```

## 01-deploy-kind-cluster.yml

**Purpose**: Create and configure Kind cluster
@@ -24,12 +39,18 @@ ansible-playbook playbooks/scenarios/full-deployment.yml
- Config: `../automation/1-kind-cluster/kind-config.yaml`
- Setup script: `../automation/1-kind-cluster/setup-env.sh`

## 02-install-dependencies.yml
## install-prometheus.yml

**Purpose**: Install cluster dependencies (Prometheus, NFD)
**Purpose**: Install Prometheus Stack

**Tags**:
- `prometheus`: Install Prometheus stack

## install-node-feature-discovery.yml

**Purpose**: Install Node Feature Discovery

**Tags**:
- `nfd`: Install Node Feature Discovery

## 02-deploy-harbor.yml