diff options
| author | Xe Iaso <me@xeiaso.net> | 2025-03-01 13:43:27 -0500 |
|---|---|---|
| committer | Xe Iaso <me@xeiaso.net> | 2025-03-01 13:43:27 -0500 |
| commit | 8c303391b57f81e0261ed50654689ee4b54f089b (patch) | |
| tree | c147495f79c4a5514784a396215f05eeb470a96a | |
| parent | 070566bce7cc37e12d3dee13fe8334f65341f55f (diff) | |
| download | x-8c303391b57f81e0261ed50654689ee4b54f089b.tar.xz x-8c303391b57f81e0261ed50654689ee4b54f089b.zip | |
kube/aeacus: adopt App resource
Signed-off-by: Xe Iaso <me@xeiaso.net>
| -rw-r--r-- | kube/aeacus/headscale/deployment.yaml | 2 | ||||
| -rw-r--r-- | kube/aeacus/x/httpdebug.yaml | 12 | ||||
| -rw-r--r-- | kube/aeacus/x/kustomization.yaml | 3 | ||||
| -rw-r--r-- | kube/aeacus/x/stickers.yaml | 20 | ||||
| -rw-r--r-- | kube/aeacus/x/stickers/1password.yaml | 6 | ||||
| -rw-r--r-- | kube/aeacus/x/stickers/deployment.yaml | 60 | ||||
| -rw-r--r-- | kube/aeacus/x/stickers/ingress.yaml | 25 | ||||
| -rw-r--r-- | kube/aeacus/x/stickers/kustomization.yaml | 5 | ||||
| -rw-r--r-- | kube/aeacus/x/stickers/service.yaml | 14 |
9 files changed, 35 insertions, 112 deletions
diff --git a/kube/aeacus/headscale/deployment.yaml b/kube/aeacus/headscale/deployment.yaml index 4040c2c..563856f 100644 --- a/kube/aeacus/headscale/deployment.yaml +++ b/kube/aeacus/headscale/deployment.yaml @@ -26,7 +26,7 @@ spec: enableServiceLinks: true containers: - name: headscale - image: ghcr.io/juanfont/headscale:v0.24.2 + image: ghcr.io/juanfont/headscale:v0.25.1 imagePullPolicy: Always args: - serve diff --git a/kube/aeacus/x/httpdebug.yaml b/kube/aeacus/x/httpdebug.yaml new file mode 100644 index 0000000..511eb64 --- /dev/null +++ b/kube/aeacus/x/httpdebug.yaml @@ -0,0 +1,12 @@ +apiVersion: x.within.website/v1 +kind: App +metadata: + name: httpdebug + +spec: + image: ghcr.io/xe/x/httpdebug:latest + autoUpdate: true + + ingress: + enabled: true + host: httpdebug.xelaso.net
\ No newline at end of file diff --git a/kube/aeacus/x/kustomization.yaml b/kube/aeacus/x/kustomization.yaml index b141fbf..0106b54 100644 --- a/kube/aeacus/x/kustomization.yaml +++ b/kube/aeacus/x/kustomization.yaml @@ -1,3 +1,4 @@ resources: - - stickers + - httpdebug.yaml + - stickers.yaml - within.website
\ No newline at end of file diff --git a/kube/aeacus/x/stickers.yaml b/kube/aeacus/x/stickers.yaml new file mode 100644 index 0000000..88a4174 --- /dev/null +++ b/kube/aeacus/x/stickers.yaml @@ -0,0 +1,20 @@ +apiVersion: x.within.website/v1 +kind: App +metadata: + name: stickers + +spec: + image: ghcr.io/xe/x/stickers:latest + autoUpdate: true + + healthcheck: + enabled: true + + ingress: + enabled: true + host: stickers.xeiaso.net + + secrets: + - name: tigris-creds + itemPath: "vaults/lc5zo4zjz3if3mkeuhufjmgmui/items/kvc2jqoyriem75ny4mvm6keguy" + environment: true
\ No newline at end of file diff --git a/kube/aeacus/x/stickers/1password.yaml b/kube/aeacus/x/stickers/1password.yaml deleted file mode 100644 index b39d884..0000000 --- a/kube/aeacus/x/stickers/1password.yaml +++ /dev/null @@ -1,6 +0,0 @@ -apiVersion: onepassword.com/v1 -kind: OnePasswordItem -metadata: - name: stickers-tigris-creds -spec: - itemPath: "vaults/lc5zo4zjz3if3mkeuhufjmgmui/items/kvc2jqoyriem75ny4mvm6keguy"
\ No newline at end of file diff --git a/kube/aeacus/x/stickers/deployment.yaml b/kube/aeacus/x/stickers/deployment.yaml deleted file mode 100644 index df80271..0000000 --- a/kube/aeacus/x/stickers/deployment.yaml +++ /dev/null @@ -1,60 +0,0 @@ -apiVersion: apps/v1 -kind: Deployment -metadata: - name: stickers - labels: - app.kubernetes.io/name: stickers - annotations: - keel.sh/policy: all - keel.sh/trigger: poll - keel.sh/pollSchedule: "@hourly" -spec: - replicas: 1 - selector: - matchLabels: - app.kubernetes.io/name: stickers - template: - metadata: - labels: - app.kubernetes.io/name: stickers - spec: - securityContext: - fsGroup: 1000 - containers: - - name: main - image: ghcr.io/xe/x/stickers:latest - imagePullPolicy: "Always" - envFrom: - - secretRef: - name: stickers-tigris-creds - resources: - limits: - cpu: "500m" - memory: "256Mi" - requests: - cpu: "250m" - memory: "128Mi" - securityContext: - runAsUser: 1000 - runAsGroup: 1000 - runAsNonRoot: true - allowPrivilegeEscalation: false - capabilities: - drop: - - ALL - seccompProfile: - type: RuntimeDefault - livenessProbe: - httpGet: - path: / - port: 8080 - httpHeaders: - - name: X-Kubernetes - value: "is kinda okay" - initialDelaySeconds: 3 - periodSeconds: 3 - env: - - name: BIND - value: ":8080" - - name: SLOG_LEVEL - value: DEBUG
\ No newline at end of file diff --git a/kube/aeacus/x/stickers/ingress.yaml b/kube/aeacus/x/stickers/ingress.yaml deleted file mode 100644 index 07c9e39..0000000 --- a/kube/aeacus/x/stickers/ingress.yaml +++ /dev/null @@ -1,25 +0,0 @@ -apiVersion: networking.k8s.io/v1 -kind: Ingress -metadata: - name: stickers - labels: - app.kubernetes.io/name: stickers - annotations: - cert-manager.io/cluster-issuer: "letsencrypt-prod" -spec: - ingressClassName: nginx - tls: - - hosts: - - stickers.xeiaso.net - secretName: stickers-xeiaso-net-public-tls - rules: - - host: stickers.xeiaso.net - http: - paths: - - pathType: Prefix - path: "/" - backend: - service: - name: stickers - port: - name: http diff --git a/kube/aeacus/x/stickers/kustomization.yaml b/kube/aeacus/x/stickers/kustomization.yaml deleted file mode 100644 index e51a60f..0000000 --- a/kube/aeacus/x/stickers/kustomization.yaml +++ /dev/null @@ -1,5 +0,0 @@ -resources: - - 1password.yaml - - deployment.yaml - - service.yaml - - ingress.yaml
\ No newline at end of file diff --git a/kube/aeacus/x/stickers/service.yaml b/kube/aeacus/x/stickers/service.yaml deleted file mode 100644 index 85834fe..0000000 --- a/kube/aeacus/x/stickers/service.yaml +++ /dev/null @@ -1,14 +0,0 @@ -apiVersion: v1 -kind: Service -metadata: - name: stickers - labels: - app.kubernetes.io/name: stickers -spec: - selector: - app.kubernetes.io/name: stickers - ports: - - port: 80 - targetPort: 8080 - name: http - type: ClusterIP
\ No newline at end of file |
