Skip to content

Commit

Permalink
updates
Browse files Browse the repository at this point in the history
  • Loading branch information
james-otten committed Jul 11, 2024
1 parent bda287d commit 7039f0e
Show file tree
Hide file tree
Showing 6 changed files with 26 additions and 4 deletions.
6 changes: 3 additions & 3 deletions infra/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,16 +28,16 @@ ansible-galaxy collection install cloud.terraform
ansible-playbook meshdb.yaml
```

<!-- 5. Install the `meshdb-cluster` chart.
5. Install the `meshdb-cluster` chart.

```
cd meshdb/infra/helm/meshdb-cluster
# Modify values.yaml to meet your needs
helm template . -f values.yaml > meshdb-cluster.yaml
kubectl apply -f meshdb-cluster.yaml
``` -->
```

5. Create and update values + secrets in `values.yaml` and `secret.values.yaml`
5. Install the `meshdb` chart. Create and update values + secrets in `values.yaml` and `secret.values.yaml`


```
Expand Down
5 changes: 5 additions & 0 deletions infra/helm/meshdb-cluster/templates/longhorn.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
apiVersion: v1
kind: Namespace
metadata:
name: longhorn-system
---
apiVersion: helm.cattle.io/v1
kind: HelmChart
metadata:
Expand Down
1 change: 0 additions & 1 deletion infra/tf/k3s.tf
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ module "k3s" {
user = "debian"
}
flags = [
"--disable servicelb",
"--write-kubeconfig-mode 644",
]
}
Expand Down
6 changes: 6 additions & 0 deletions infra/tf/lb.tf
Original file line number Diff line number Diff line change
Expand Up @@ -47,5 +47,11 @@ resource "proxmox_vm_qemu" "k8s-lb" {
}

tags = "meshdb${var.meshdb_env_name}"

lifecycle {
ignore_changes = [
qemu_os,
]
}
}

6 changes: 6 additions & 0 deletions infra/tf/mgr.tf
Original file line number Diff line number Diff line change
Expand Up @@ -49,4 +49,10 @@ resource "proxmox_vm_qemu" "meshdbmgr" {
}

tags = "meshdb${var.meshdb_env_name}"

lifecycle {
ignore_changes = [
qemu_os,
]
}
}
6 changes: 6 additions & 0 deletions infra/tf/workers.tf
Original file line number Diff line number Diff line change
Expand Up @@ -49,5 +49,11 @@ resource "proxmox_vm_qemu" "meshdbnode" {
}

tags = "meshdb${var.meshdb_env_name}"

lifecycle {
ignore_changes = [
qemu_os,
]
}
}

0 comments on commit 7039f0e

Please sign in to comment.