Skip to content

Commit cf196da

Browse files
author
Robin Lenz
committed
Remove Cuby ingress, use port-forward instead
- Remove Ingress resource from cuby-operator template - Remove cuby_domain terraform variable - Update info output with port-forward command
1 parent 6bff71e commit cf196da

File tree

6 files changed

+3
-40
lines changed

6 files changed

+3
-40
lines changed

hetzner-setup/ProcessCube.Cloud/ansible/inventory/hosts.tpl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,5 +29,4 @@ tailscale_tags=${tailscale_tags}
2929
onepassword_credentials_json=${onepassword_credentials_json}
3030
%{ endif ~}
3131
processcube_api_key=${processcube_api_key}
32-
cuby_domain=${cuby_domain}
3332
ansible_python_interpreter=/usr/bin/python3

hetzner-setup/ProcessCube.Cloud/ansible/roles/install_cuby/tasks/main.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,4 +52,6 @@
5252
- " - regcred (ImagePull Secret)"
5353
- " - processcube-api-key (API Key Secret)"
5454
- ""
55-
- "Cuby is available at: https://{{ cuby_domain }}"
55+
- "Access Cuby via port-forward:"
56+
- " kubectl port-forward svc/cuby-operator -n processcube 3847:80"
57+
- " Then open: http://localhost:3847"

hetzner-setup/ProcessCube.Cloud/ansible/roles/install_cuby/templates/cuby-operator.yaml.j2

Lines changed: 0 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -199,34 +199,3 @@ spec:
199199
selector:
200200
app.kubernetes.io/name: cuby
201201
app.kubernetes.io/component: operator
202-
203-
---
204-
# Ingress
205-
apiVersion: networking.k8s.io/v1
206-
kind: Ingress
207-
metadata:
208-
name: cuby-operator
209-
namespace: processcube
210-
labels:
211-
app.kubernetes.io/name: cuby
212-
app.kubernetes.io/component: operator
213-
annotations:
214-
cert-manager.io/cluster-issuer: letsencrypt-prod
215-
nginx.ingress.kubernetes.io/proxy-body-size: "50m"
216-
spec:
217-
ingressClassName: nginx
218-
tls:
219-
- hosts:
220-
- {{ cuby_domain }}
221-
secretName: cuby-tls
222-
rules:
223-
- host: {{ cuby_domain }}
224-
http:
225-
paths:
226-
- path: /
227-
pathType: Prefix
228-
backend:
229-
service:
230-
name: cuby-operator
231-
port:
232-
name: http

hetzner-setup/ProcessCube.Cloud/main.tf

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,6 @@ resource "local_file" "ansible_inventory" {
201201
tailscale_tags = var.tailscale_tags
202202
onepassword_credentials_json = var.onepassword_credentials_json
203203
processcube_api_key = var.processcube_api_key
204-
cuby_domain = var.cuby_domain
205204
})
206205
filename = "${path.module}/ansible/inventory/hosts"
207206

hetzner-setup/ProcessCube.Cloud/terraform.tfvars.example

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,4 +31,3 @@ tailscale_auth_key = "YOUR_TAILSCALE_AUTH_KEY_HERE"
3131

3232
# ProcessCube Marketplace Configuration
3333
processcube_api_key = "YOUR_PROCESSCUBE_API_KEY_HERE"
34-
cuby_domain = "cuby.example.com"

hetzner-setup/ProcessCube.Cloud/variables.tf

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -97,8 +97,3 @@ variable "processcube_api_key" {
9797
type = string
9898
sensitive = true
9999
}
100-
101-
variable "cuby_domain" {
102-
description = "Domain for Cuby operator ingress (e.g. cuby.example.com)"
103-
type = string
104-
}

0 commit comments

Comments
 (0)