aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXe Iaso <me@xeiaso.net>2024-11-08 08:24:48 -0500
committerXe Iaso <me@xeiaso.net>2024-11-08 08:24:48 -0500
commita731950f5c80c6b19c8b92f85600d38f6dc9ae63 (patch)
tree43d9fea4331c47c807a8ca3c4a45d8aed2fe5b62
parentd9c0ca365ced7ad855d320c25665b937c077db4f (diff)
downloadx-a731950f5c80c6b19c8b92f85600d38f6dc9ae63.tar.xz
x-a731950f5c80c6b19c8b92f85600d38f6dc9ae63.zip
kube: rhadamanthus -> aeacus
Signed-off-by: Xe Iaso <me@xeiaso.net>
-rw-r--r--kube/aeacus/core/cert-manager/1password.yaml (renamed from kube/rhadamanthus/core/cert-manager/1password.yaml)0
-rw-r--r--kube/aeacus/core/cert-manager/kustomization.yaml (renamed from kube/rhadamanthus/core/cert-manager/kustomization.yaml)0
-rw-r--r--kube/aeacus/core/cert-manager/onion-issuer.yaml15
-rw-r--r--kube/aeacus/core/cert-manager/prod-issuer.yaml (renamed from kube/rhadamanthus/core/cert-manager/prod-issuer.yaml)0
-rw-r--r--kube/aeacus/core/cert-manager/staging-issuer.yaml (renamed from kube/rhadamanthus/core/cert-manager/staging-issuer.yaml)0
-rw-r--r--kube/aeacus/core/external-dns/1password.yaml (renamed from kube/rhadamanthus/core/external-dns/1password.yaml)0
-rw-r--r--kube/aeacus/core/external-dns/clusterrole.yaml (renamed from kube/rhadamanthus/core/external-dns/clusterrole.yaml)0
-rw-r--r--kube/aeacus/core/external-dns/clusterrolebinding.yaml (renamed from kube/rhadamanthus/core/external-dns/clusterrolebinding.yaml)0
-rw-r--r--kube/aeacus/core/external-dns/crd.yaml (renamed from kube/rhadamanthus/core/external-dns/crd.yaml)0
-rw-r--r--kube/aeacus/core/external-dns/deployment-crd.yaml (renamed from kube/rhadamanthus/core/external-dns/deployment-crd.yaml)2
-rw-r--r--kube/aeacus/core/external-dns/deployment-ingress.yaml (renamed from kube/rhadamanthus/core/external-dns/deployment-ingress.yaml)6
-rw-r--r--kube/aeacus/core/external-dns/kustomization.yaml (renamed from kube/rhadamanthus/core/external-dns/kustomization.yaml)0
-rw-r--r--kube/aeacus/core/external-dns/namespace.yaml (renamed from kube/rhadamanthus/core/external-dns/namespace.yaml)0
-rw-r--r--kube/aeacus/core/external-dns/serviceaccount.yaml (renamed from kube/rhadamanthus/core/external-dns/serviceaccount.yaml)0
-rw-r--r--kube/aeacus/core/kustomization.yaml (renamed from kube/rhadamanthus/core/kustomization.yaml)0
-rw-r--r--kube/aeacus/core/load-balancer-dns.yaml11
-rw-r--r--kube/aeacus/kustomization.yaml (renamed from kube/rhadamanthus/kustomization.yaml)2
-rw-r--r--kube/aeacus/tf/.gitignore2
-rw-r--r--kube/aeacus/tf/.terraform.lock.hcl24
-rw-r--r--kube/aeacus/tf/main.tf37
-rw-r--r--kube/aeacus/x/kustomization.yaml2
-rw-r--r--kube/aeacus/x/within.website/configmap.yaml (renamed from kube/alrest/x/within.website/configmap.yaml)0
-rw-r--r--kube/aeacus/x/within.website/deployment.yaml (renamed from kube/alrest/x/within.website/deployment.yaml)0
-rw-r--r--kube/aeacus/x/within.website/ingress.yaml (renamed from kube/alrest/x/within.website/ingress.yaml)0
-rw-r--r--kube/aeacus/x/within.website/kustomization.yaml (renamed from kube/alrest/x/within.website/kustomization.yaml)0
-rw-r--r--kube/aeacus/x/within.website/service.yaml (renamed from kube/alrest/x/within.website/service.yaml)0
-rw-r--r--kube/alrest/x/kustomization.yaml3
-rw-r--r--kube/rhadamanthus/core/load-balancer-dns.yaml16
28 files changed, 98 insertions, 22 deletions
diff --git a/kube/rhadamanthus/core/cert-manager/1password.yaml b/kube/aeacus/core/cert-manager/1password.yaml
index d1ef67c..d1ef67c 100644
--- a/kube/rhadamanthus/core/cert-manager/1password.yaml
+++ b/kube/aeacus/core/cert-manager/1password.yaml
diff --git a/kube/rhadamanthus/core/cert-manager/kustomization.yaml b/kube/aeacus/core/cert-manager/kustomization.yaml
index 4913180..4913180 100644
--- a/kube/rhadamanthus/core/cert-manager/kustomization.yaml
+++ b/kube/aeacus/core/cert-manager/kustomization.yaml
diff --git a/kube/aeacus/core/cert-manager/onion-issuer.yaml b/kube/aeacus/core/cert-manager/onion-issuer.yaml
new file mode 100644
index 0000000..ef38042
--- /dev/null
+++ b/kube/aeacus/core/cert-manager/onion-issuer.yaml
@@ -0,0 +1,15 @@
+apiVersion: cert-manager.io/v1
+kind: ClusterIssuer
+metadata:
+ name: onions
+spec:
+ acme:
+ email: me@xeiaso.net
+ server: https://acme.api.acmeforonions.org/directory
+ privateKeySecretRef:
+ # Secret resource that will be used to store the account's private key.
+ name: onions-acme-key
+ solvers:
+ - http01:
+ ingress:
+ ingressClassName: nginx \ No newline at end of file
diff --git a/kube/rhadamanthus/core/cert-manager/prod-issuer.yaml b/kube/aeacus/core/cert-manager/prod-issuer.yaml
index 29572f5..29572f5 100644
--- a/kube/rhadamanthus/core/cert-manager/prod-issuer.yaml
+++ b/kube/aeacus/core/cert-manager/prod-issuer.yaml
diff --git a/kube/rhadamanthus/core/cert-manager/staging-issuer.yaml b/kube/aeacus/core/cert-manager/staging-issuer.yaml
index 6d015ac..6d015ac 100644
--- a/kube/rhadamanthus/core/cert-manager/staging-issuer.yaml
+++ b/kube/aeacus/core/cert-manager/staging-issuer.yaml
diff --git a/kube/rhadamanthus/core/external-dns/1password.yaml b/kube/aeacus/core/external-dns/1password.yaml
index ead83ea..ead83ea 100644
--- a/kube/rhadamanthus/core/external-dns/1password.yaml
+++ b/kube/aeacus/core/external-dns/1password.yaml
diff --git a/kube/rhadamanthus/core/external-dns/clusterrole.yaml b/kube/aeacus/core/external-dns/clusterrole.yaml
index d0278b3..d0278b3 100644
--- a/kube/rhadamanthus/core/external-dns/clusterrole.yaml
+++ b/kube/aeacus/core/external-dns/clusterrole.yaml
diff --git a/kube/rhadamanthus/core/external-dns/clusterrolebinding.yaml b/kube/aeacus/core/external-dns/clusterrolebinding.yaml
index 186feec..186feec 100644
--- a/kube/rhadamanthus/core/external-dns/clusterrolebinding.yaml
+++ b/kube/aeacus/core/external-dns/clusterrolebinding.yaml
diff --git a/kube/rhadamanthus/core/external-dns/crd.yaml b/kube/aeacus/core/external-dns/crd.yaml
index 822cd85..822cd85 100644
--- a/kube/rhadamanthus/core/external-dns/crd.yaml
+++ b/kube/aeacus/core/external-dns/crd.yaml
diff --git a/kube/rhadamanthus/core/external-dns/deployment-crd.yaml b/kube/aeacus/core/external-dns/deployment-crd.yaml
index 9eee657..0ac2644 100644
--- a/kube/rhadamanthus/core/external-dns/deployment-crd.yaml
+++ b/kube/aeacus/core/external-dns/deployment-crd.yaml
@@ -25,7 +25,7 @@ spec:
- --provider=aws
- --registry=dynamodb
- --dynamodb-region=ca-central-1
- - --dynamodb-table=external-dns-crd-rhadamanthus
+ - --dynamodb-table=external-dns-crd-aeacus
env:
- name: AWS_REGION
value: us-east-1
diff --git a/kube/rhadamanthus/core/external-dns/deployment-ingress.yaml b/kube/aeacus/core/external-dns/deployment-ingress.yaml
index b18093e..bed7392 100644
--- a/kube/rhadamanthus/core/external-dns/deployment-ingress.yaml
+++ b/kube/aeacus/core/external-dns/deployment-ingress.yaml
@@ -20,11 +20,13 @@ spec:
image: registry.k8s.io/external-dns/external-dns:v0.15.0
args:
- --source=ingress
- - --default-targets=rhadamanthus.xeserv.us
- --provider=aws
+ - --default-targets=131.153.227.239
- --registry=dynamodb
- --dynamodb-region=ca-central-1
- - --dynamodb-table=external-dns-ingress-rhadamanthus
+ - --dynamodb-table=external-dns-ingress-aeacus
+ #- --registry=txt
+ #- --txt-owner-id=aeacus-ing
env:
- name: AWS_REGION
value: us-east-1
diff --git a/kube/rhadamanthus/core/external-dns/kustomization.yaml b/kube/aeacus/core/external-dns/kustomization.yaml
index 24c984d..24c984d 100644
--- a/kube/rhadamanthus/core/external-dns/kustomization.yaml
+++ b/kube/aeacus/core/external-dns/kustomization.yaml
diff --git a/kube/rhadamanthus/core/external-dns/namespace.yaml b/kube/aeacus/core/external-dns/namespace.yaml
index 027e0af..027e0af 100644
--- a/kube/rhadamanthus/core/external-dns/namespace.yaml
+++ b/kube/aeacus/core/external-dns/namespace.yaml
diff --git a/kube/rhadamanthus/core/external-dns/serviceaccount.yaml b/kube/aeacus/core/external-dns/serviceaccount.yaml
index 479610c..479610c 100644
--- a/kube/rhadamanthus/core/external-dns/serviceaccount.yaml
+++ b/kube/aeacus/core/external-dns/serviceaccount.yaml
diff --git a/kube/rhadamanthus/core/kustomization.yaml b/kube/aeacus/core/kustomization.yaml
index 85b09da..85b09da 100644
--- a/kube/rhadamanthus/core/kustomization.yaml
+++ b/kube/aeacus/core/kustomization.yaml
diff --git a/kube/aeacus/core/load-balancer-dns.yaml b/kube/aeacus/core/load-balancer-dns.yaml
new file mode 100644
index 0000000..9759ab5
--- /dev/null
+++ b/kube/aeacus/core/load-balancer-dns.yaml
@@ -0,0 +1,11 @@
+apiVersion: externaldns.k8s.io/v1alpha1
+kind: DNSEndpoint
+metadata:
+ name: load-balancer-dns
+spec:
+ endpoints:
+ - dnsName: aeacus.xeserv.us
+ recordTTL: 3600
+ recordType: A
+ targets:
+ - 131.153.227.239 \ No newline at end of file
diff --git a/kube/rhadamanthus/kustomization.yaml b/kube/aeacus/kustomization.yaml
index 1f70efe..842bc68 100644
--- a/kube/rhadamanthus/kustomization.yaml
+++ b/kube/aeacus/kustomization.yaml
@@ -1,3 +1,3 @@
resources:
- core
-#- x \ No newline at end of file
+- x \ No newline at end of file
diff --git a/kube/aeacus/tf/.gitignore b/kube/aeacus/tf/.gitignore
new file mode 100644
index 0000000..57750e8
--- /dev/null
+++ b/kube/aeacus/tf/.gitignore
@@ -0,0 +1,2 @@
+.terraform
+*.swp
diff --git a/kube/aeacus/tf/.terraform.lock.hcl b/kube/aeacus/tf/.terraform.lock.hcl
new file mode 100644
index 0000000..b70ccb0
--- /dev/null
+++ b/kube/aeacus/tf/.terraform.lock.hcl
@@ -0,0 +1,24 @@
+# This file is maintained automatically by "terraform init".
+# Manual edits may be lost in future updates.
+
+provider "registry.terraform.io/hashicorp/aws" {
+ version = "5.74.0"
+ hashes = [
+ "h1:0Iq3x8RSdWedvATBO1RZbCQqRCHPNsdhkYVrRs9crEE=",
+ "zh:1e2d65add4d63af5b396ae33d55c48303eca6c86bd1be0f6fae13267a9b47bc4",
+ "zh:20ddec3dac3d06a188f12e58b6428854949b1295e937c5d4dca4866dc1c937af",
+ "zh:35b72de4e6a3e3d69efc07184fb413406262fe447b2d82d57eaf8c787a068a06",
+ "zh:44eada24a50cd869aadc4b29f9e791fdf262d7f426921e9ac2893bbb86013176",
+ "zh:455e666e3a9a2312b3b9f434b87a404b6515d64a8853751e20566a6548f9df9e",
+ "zh:58b3ae74abfca7b9b61f42f0c8b10d97f9b01aff18bd1d4ab091129c9d203707",
+ "zh:840a8a32d5923f9e7422f9c80d165c3f89bb6ea370b8283095081e39050a8ea8",
+ "zh:87cb6dbbdbc1b73bdde4b8b5d6d780914a3e8f1df0385da4ea7323dc1a68468f",
+ "zh:8b8953e39b0e6e6156c5570d1ca653450bfa0d9b280e2475f01ee5c51a6554db",
+ "zh:9b12af85486a96aedd8d7984b0ff811a4b42e3d88dad1a3fb4c0b580d04fa425",
+ "zh:9bd750262e2fb0187a8420a561e55b0a1da738f690f53f5c7df170cb1f380459",
+ "zh:9d2474c1432dfa5e1db197e2dd6cd61a6a15452e0bc7acd09ca86b3cdb228871",
+ "zh:b763ecaf471c7737a5c6e4cf257b5318e922a6610fd83b36ed8eb68582a8642e",
+ "zh:c1344cd8fe03ff7433a19b14b14a1898c2ca5ba22a468fb8e1687f0a7f564d52",
+ "zh:dc0e0abf3be7402d0d022ced82816884356115ed27646df9c7222609e96840e6",
+ ]
+}
diff --git a/kube/aeacus/tf/main.tf b/kube/aeacus/tf/main.tf
new file mode 100644
index 0000000..f3ed77b
--- /dev/null
+++ b/kube/aeacus/tf/main.tf
@@ -0,0 +1,37 @@
+terraform {
+ backend "s3" {
+ bucket = "within-tf-state"
+ key = "k8s/aeacus/external-dns"
+ region = "us-east-1"
+ }
+}
+
+resource "aws_dynamodb_table" "external_dns_crd" {
+ name = "external-dns-crd-aeacus"
+ billing_mode = "PROVISIONED"
+ read_capacity = 1
+ write_capacity = 1
+ table_class = "STANDARD"
+
+ attribute {
+ name = "k"
+ type = "S"
+ }
+
+ hash_key = "k"
+}
+
+resource "aws_dynamodb_table" "external_dns_ingress" {
+ name = "external-dns-ingress-aeacus"
+ billing_mode = "PROVISIONED"
+ read_capacity = 1
+ write_capacity = 1
+ table_class = "STANDARD"
+
+ attribute {
+ name = "k"
+ type = "S"
+ }
+
+ hash_key = "k"
+}
diff --git a/kube/aeacus/x/kustomization.yaml b/kube/aeacus/x/kustomization.yaml
new file mode 100644
index 0000000..fa918fa
--- /dev/null
+++ b/kube/aeacus/x/kustomization.yaml
@@ -0,0 +1,2 @@
+resources:
+ - within.website \ No newline at end of file
diff --git a/kube/alrest/x/within.website/configmap.yaml b/kube/aeacus/x/within.website/configmap.yaml
index 33ea5ef..33ea5ef 100644
--- a/kube/alrest/x/within.website/configmap.yaml
+++ b/kube/aeacus/x/within.website/configmap.yaml
diff --git a/kube/alrest/x/within.website/deployment.yaml b/kube/aeacus/x/within.website/deployment.yaml
index dd18dce..dd18dce 100644
--- a/kube/alrest/x/within.website/deployment.yaml
+++ b/kube/aeacus/x/within.website/deployment.yaml
diff --git a/kube/alrest/x/within.website/ingress.yaml b/kube/aeacus/x/within.website/ingress.yaml
index 9c1822e..9c1822e 100644
--- a/kube/alrest/x/within.website/ingress.yaml
+++ b/kube/aeacus/x/within.website/ingress.yaml
diff --git a/kube/alrest/x/within.website/kustomization.yaml b/kube/aeacus/x/within.website/kustomization.yaml
index 70e6095..70e6095 100644
--- a/kube/alrest/x/within.website/kustomization.yaml
+++ b/kube/aeacus/x/within.website/kustomization.yaml
diff --git a/kube/alrest/x/within.website/service.yaml b/kube/aeacus/x/within.website/service.yaml
index a1424f1..a1424f1 100644
--- a/kube/alrest/x/within.website/service.yaml
+++ b/kube/aeacus/x/within.website/service.yaml
diff --git a/kube/alrest/x/kustomization.yaml b/kube/alrest/x/kustomization.yaml
index 4cca6c0..3d38386 100644
--- a/kube/alrest/x/kustomization.yaml
+++ b/kube/alrest/x/kustomization.yaml
@@ -5,5 +5,4 @@ resources:
- mi
- mimi
- sapientwindex
- - todayinmarch2020
- - within.website \ No newline at end of file
+ - todayinmarch2020 \ No newline at end of file
diff --git a/kube/rhadamanthus/core/load-balancer-dns.yaml b/kube/rhadamanthus/core/load-balancer-dns.yaml
deleted file mode 100644
index a7bc794..0000000
--- a/kube/rhadamanthus/core/load-balancer-dns.yaml
+++ /dev/null
@@ -1,16 +0,0 @@
-apiVersion: externaldns.k8s.io/v1alpha1
-kind: DNSEndpoint
-metadata:
- name: load-balancer-dns
-spec:
- endpoints:
- - dnsName: rhadamanthus.xeserv.us
- recordTTL: 3600
- recordType: A
- targets:
- - 149.248.57.25
- - dnsName: rhadamanthus.xeserv.us
- recordTTL: 3600
- recordType: AAAA
- targets:
- - 2001:19f0:b002:113f:ffff:ffff:ffff:ffff \ No newline at end of file