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
|
||||
|
||||
```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
|
||||
k create ns $i
|
||||
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 bitnami https://charts.bitnami.com/bitnami
|
||||
helm repo add k8s-land https://charts.k8s.land
|
||||
helm repo add mailu https://mailu.github.io/helm-charts/
|
||||
helm repo update
|
||||
```
|
||||
|
||||
|
|
@ -194,7 +195,23 @@ helm upgrade --install nextcloud-phpmyadmin bitnami/phpmyadmin -n nextcloud -f n
|
|||
|
||||
### 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
|
||||
|
||||
|
|
|
|||
|
|
@ -25,7 +25,7 @@ spec:
|
|||
name: mopbot
|
||||
resources:
|
||||
limits:
|
||||
cpu: "500m"
|
||||
cpu: "50m"
|
||||
memory: "128Mi"
|
||||
env:
|
||||
- name: API_KEY_OWA
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@ spec:
|
|||
cpu: "2"
|
||||
memory: "2Gi"
|
||||
requests:
|
||||
cpu: "200m"
|
||||
cpu: "50m"
|
||||
memory: "500Mi"
|
||||
volumeMounts:
|
||||
- name: work
|
||||
|
|
|
|||
|
|
@ -120,7 +120,15 @@ resource "ovh_domain_zone_record" "mail_moritzgraf" {
|
|||
subdomain = "mail"
|
||||
fieldtype = "A"
|
||||
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,
|
||||
"terraform_version": "0.12.24",
|
||||
"serial": 121,
|
||||
"serial": 131,
|
||||
"lineage": "8aff5d23-05f6-10eb-0ae6-1084c787677e",
|
||||
"outputs": {},
|
||||
"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",
|
||||
"type": "ovh_domain_zone_record",
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"version": 4,
|
||||
"terraform_version": "0.12.24",
|
||||
"serial": 117,
|
||||
"serial": 128,
|
||||
"lineage": "8aff5d23-05f6-10eb-0ae6-1084c787677e",
|
||||
"outputs": {},
|
||||
"resources": [
|
||||
|
|
@ -317,19 +317,6 @@
|
|||
},
|
||||
"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",
|
||||
"schema_version": 0,
|
||||
|
|
@ -552,7 +539,27 @@
|
|||
"fieldtype": "A",
|
||||
"id": "5106870709",
|
||||
"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,
|
||||
"zone": "moritzgraf.de"
|
||||
},
|
||||
|
|
@ -632,19 +639,6 @@
|
|||
},
|
||||
"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",
|
||||
"schema_version": 0,
|
||||
|
|
@ -888,6 +882,19 @@
|
|||
},
|
||||
"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",
|
||||
"schema_version": 0,
|
||||
|
|
|
|||
Loading…
Reference in New Issue