Add current state
This commit is contained in:
parent
8cef4aeb29
commit
38e2091c00
|
|
@ -27,7 +27,7 @@ kubectl patch deployment $DEPLOYMENT -n $NAMESPACE -p "{\"spec\": {\"template\":
|
||||||
## namespaces
|
## namespaces
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
namespaces="flux cert-manager nginx-ingress infrapuzzle kuard auth nextcloud datalab web development tt-rss backup monitoring nextcloud"
|
namespaces="flux cert-manager nginx-ingress infrapuzzle kuard auth nextcloud datalab web development tt-rss backup monitoring nextcloud mailu"
|
||||||
for i in $( echo $NAMESPACES ) ; do
|
for i in $( echo $NAMESPACES ) ; do
|
||||||
k create ns $i
|
k create ns $i
|
||||||
done
|
done
|
||||||
|
|
@ -40,6 +40,7 @@ helm repo add stable https://kubernetes-charts.storage.googleapis.com
|
||||||
helm repo add jetstack https://charts.jetstack.io
|
helm repo add jetstack https://charts.jetstack.io
|
||||||
helm repo add bitnami https://charts.bitnami.com/bitnami
|
helm repo add bitnami https://charts.bitnami.com/bitnami
|
||||||
helm repo add k8s-land https://charts.k8s.land
|
helm repo add k8s-land https://charts.k8s.land
|
||||||
|
helm repo add mailu https://mailu.github.io/helm-charts/
|
||||||
helm repo update
|
helm repo update
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
@ -194,7 +195,23 @@ helm upgrade --install nextcloud-phpmyadmin bitnami/phpmyadmin -n nextcloud -f n
|
||||||
|
|
||||||
### backup & restore
|
### backup & restore
|
||||||
|
|
||||||
|
## mailu
|
||||||
|
|
||||||
|
Using the [mailu helm chart](https://github.com/Mailu/helm-charts/tree/master/mailu).
|
||||||
|
|
||||||
|
```sh
|
||||||
|
helm repo add mailu https://mailu.github.io/helm-charts/
|
||||||
|
helm repo update
|
||||||
|
helm upgrade --install mailu mailu/mailu -n mailu -f mailu/mailu.secret.yml
|
||||||
|
```
|
||||||
|
|
||||||
|
### troubleshooting
|
||||||
|
|
||||||
|
Test imap from console:
|
||||||
|
|
||||||
|
```sh
|
||||||
|
openssl s_client -crlf -connect moritzgraf.de:993
|
||||||
|
```
|
||||||
|
|
||||||
## minio
|
## minio
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -25,7 +25,7 @@ spec:
|
||||||
name: mopbot
|
name: mopbot
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
cpu: "500m"
|
cpu: "50m"
|
||||||
memory: "128Mi"
|
memory: "128Mi"
|
||||||
env:
|
env:
|
||||||
- name: API_KEY_OWA
|
- name: API_KEY_OWA
|
||||||
|
|
|
||||||
|
|
@ -29,7 +29,7 @@ spec:
|
||||||
cpu: "2"
|
cpu: "2"
|
||||||
memory: "2Gi"
|
memory: "2Gi"
|
||||||
requests:
|
requests:
|
||||||
cpu: "200m"
|
cpu: "50m"
|
||||||
memory: "500Mi"
|
memory: "500Mi"
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: work
|
- name: work
|
||||||
|
|
|
||||||
|
|
@ -120,7 +120,15 @@ resource "ovh_domain_zone_record" "mail_moritzgraf" {
|
||||||
subdomain = "mail"
|
subdomain = "mail"
|
||||||
fieldtype = "A"
|
fieldtype = "A"
|
||||||
ttl = local.ttl
|
ttl = local.ttl
|
||||||
target = "91.121.64.43"
|
target = "91.121.64.43" # old
|
||||||
|
#target = "91.121.84.190" # new
|
||||||
|
}
|
||||||
|
resource "ovh_domain_zone_record" "moritzgraf" {
|
||||||
|
zone = "moritzgraf.de"
|
||||||
|
fieldtype = "A"
|
||||||
|
ttl = local.ttl
|
||||||
|
target = "91.121.64.43" # old
|
||||||
|
#target = "91.121.84.190" # new
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"version": 4,
|
"version": 4,
|
||||||
"terraform_version": "0.12.24",
|
"terraform_version": "0.12.24",
|
||||||
"serial": 121,
|
"serial": 131,
|
||||||
"lineage": "8aff5d23-05f6-10eb-0ae6-1084c787677e",
|
"lineage": "8aff5d23-05f6-10eb-0ae6-1084c787677e",
|
||||||
"outputs": {},
|
"outputs": {},
|
||||||
"resources": [
|
"resources": [
|
||||||
|
|
@ -547,6 +547,26 @@
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"mode": "managed",
|
||||||
|
"type": "ovh_domain_zone_record",
|
||||||
|
"name": "moritzgraf",
|
||||||
|
"provider": "provider.ovh",
|
||||||
|
"instances": [
|
||||||
|
{
|
||||||
|
"schema_version": 0,
|
||||||
|
"attributes": {
|
||||||
|
"fieldtype": "A",
|
||||||
|
"id": "5118726203",
|
||||||
|
"subdomain": "",
|
||||||
|
"target": "91.121.64.43",
|
||||||
|
"ttl": 60,
|
||||||
|
"zone": "moritzgraf.de"
|
||||||
|
},
|
||||||
|
"private": "bnVsbA=="
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"mode": "managed",
|
"mode": "managed",
|
||||||
"type": "ovh_domain_zone_record",
|
"type": "ovh_domain_zone_record",
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"version": 4,
|
"version": 4,
|
||||||
"terraform_version": "0.12.24",
|
"terraform_version": "0.12.24",
|
||||||
"serial": 117,
|
"serial": 128,
|
||||||
"lineage": "8aff5d23-05f6-10eb-0ae6-1084c787677e",
|
"lineage": "8aff5d23-05f6-10eb-0ae6-1084c787677e",
|
||||||
"outputs": {},
|
"outputs": {},
|
||||||
"resources": [
|
"resources": [
|
||||||
|
|
@ -317,19 +317,6 @@
|
||||||
},
|
},
|
||||||
"private": "bnVsbA=="
|
"private": "bnVsbA=="
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"index_key": "git",
|
|
||||||
"schema_version": 0,
|
|
||||||
"attributes": {
|
|
||||||
"fieldtype": "CNAME",
|
|
||||||
"id": "5113532220",
|
|
||||||
"subdomain": "git",
|
|
||||||
"target": "krassescheisse.de.",
|
|
||||||
"ttl": 60,
|
|
||||||
"zone": "krassescheisse.de"
|
|
||||||
},
|
|
||||||
"private": "bnVsbA=="
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"index_key": "grafana",
|
"index_key": "grafana",
|
||||||
"schema_version": 0,
|
"schema_version": 0,
|
||||||
|
|
@ -552,7 +539,27 @@
|
||||||
"fieldtype": "A",
|
"fieldtype": "A",
|
||||||
"id": "5106870709",
|
"id": "5106870709",
|
||||||
"subdomain": "mail",
|
"subdomain": "mail",
|
||||||
"target": "91.121.64.43",
|
"target": "91.121.84.190",
|
||||||
|
"ttl": 60,
|
||||||
|
"zone": "moritzgraf.de"
|
||||||
|
},
|
||||||
|
"private": "bnVsbA=="
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"mode": "managed",
|
||||||
|
"type": "ovh_domain_zone_record",
|
||||||
|
"name": "moritzgraf",
|
||||||
|
"provider": "provider.ovh",
|
||||||
|
"instances": [
|
||||||
|
{
|
||||||
|
"schema_version": 0,
|
||||||
|
"attributes": {
|
||||||
|
"fieldtype": "A",
|
||||||
|
"id": "5118726203",
|
||||||
|
"subdomain": "",
|
||||||
|
"target": "91.121.84.190",
|
||||||
"ttl": 60,
|
"ttl": 60,
|
||||||
"zone": "moritzgraf.de"
|
"zone": "moritzgraf.de"
|
||||||
},
|
},
|
||||||
|
|
@ -632,19 +639,6 @@
|
||||||
},
|
},
|
||||||
"private": "bnVsbA=="
|
"private": "bnVsbA=="
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"index_key": "git",
|
|
||||||
"schema_version": 0,
|
|
||||||
"attributes": {
|
|
||||||
"fieldtype": "CNAME",
|
|
||||||
"id": "5106870436",
|
|
||||||
"subdomain": "git",
|
|
||||||
"target": "moritzgraf.de.",
|
|
||||||
"ttl": 60,
|
|
||||||
"zone": "moritzgraf.de"
|
|
||||||
},
|
|
||||||
"private": "bnVsbA=="
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"index_key": "grafana",
|
"index_key": "grafana",
|
||||||
"schema_version": 0,
|
"schema_version": 0,
|
||||||
|
|
@ -888,6 +882,19 @@
|
||||||
},
|
},
|
||||||
"private": "bnVsbA=="
|
"private": "bnVsbA=="
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"index_key": "git",
|
||||||
|
"schema_version": 0,
|
||||||
|
"attributes": {
|
||||||
|
"fieldtype": "CNAME",
|
||||||
|
"id": "5116593521",
|
||||||
|
"subdomain": "git",
|
||||||
|
"target": "haumdaucher.de.",
|
||||||
|
"ttl": 60,
|
||||||
|
"zone": "moritzgraf.de"
|
||||||
|
},
|
||||||
|
"private": "bnVsbA=="
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"index_key": "tt-rss",
|
"index_key": "tt-rss",
|
||||||
"schema_version": 0,
|
"schema_version": 0,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue