Compare commits

..

5 Commits

Author SHA1 Message Date
Gitea Actions Bot a8a70051a7 Auto-update README with current k8s applications
Keycloak Terraform / Terraform (pull_request) Failing after 13s
Generated by CI/CD workflow on 2026-06-28 08:52:30

This PR updates the README.md file with the current list of applications found in the k8s/ directory structure.
2026-06-28 08:52:30 +00:00
ab 3d58baaf2f Added tmp job for unban me in gitea
Update Kubernetes Services Wiki / Generate and Update K8s Wiki (push) Successful in 37s
Check with kubeconform / lint (push) Failing after 12s
Auto-update README / Generate README and Create MR (push) Successful in 15s
2026-06-28 11:50:56 +03:00
ab 78c1519398 Adde prom auth ingress
Update Kubernetes Services Wiki / Generate and Update K8s Wiki (push) Successful in 6s
Check with kubeconform / lint (push) Successful in 7s
Auto-update README / Generate README and Create MR (push) Successful in 7s
2026-06-20 17:12:03 +03:00
ab d8a5a916e1 Added prom.hexor.cy rsauth-proxy app
Keycloak Terraform / Terraform (push) Successful in 22s
Update Kubernetes Services Wiki / Generate and Update K8s Wiki (push) Successful in 2m35s
2026-06-20 16:55:39 +03:00
ab a840dd674a Update k8s/core/prom-stack/prom-values.yaml
Update Kubernetes Services Wiki / Generate and Update K8s Wiki (push) Successful in 8s
Check with kubeconform / lint (push) Successful in 8s
Auto-update README / Generate README and Create MR (push) Successful in 11s
2026-06-19 17:45:35 +00:00
6 changed files with 113 additions and 4 deletions
+1 -1
View File
@@ -5,6 +5,6 @@ resources:
- app.yaml
- external-secrets.yaml
- deployment.yaml
- user-unban-cronjob.yaml
- service.yaml
- ingress.yaml
+60
View File
@@ -0,0 +1,60 @@
---
apiVersion: batch/v1
kind: CronJob
metadata:
name: gitea-user-unban
labels:
app: gitea-user-unban
spec:
schedule: "*/10 * * * *"
concurrencyPolicy: Forbid
successfulJobsHistoryLimit: 3
failedJobsHistoryLimit: 3
jobTemplate:
spec:
template:
metadata:
labels:
app: gitea-user-unban
spec:
restartPolicy: OnFailure
nodeSelector:
kubernetes.io/hostname: master.tail2fe2d.ts.net
volumes:
- name: storage
hostPath:
path: /k8s/gitea
type: Directory
containers:
- name: sqlite-unban
image: 'gitea/gitea:latest'
imagePullPolicy: IfNotPresent
resources:
requests:
memory: "32Mi"
cpu: "10m"
limits:
memory: "128Mi"
cpu: "100m"
command:
- /bin/sh
- -ec
- |
sqlite3 -cmd ".timeout 30000" /data/gitea/gitea.db "
UPDATE \"user\"
SET is_active = 1,
prohibit_login = 0,
updated_unix = unixepoch()
WHERE lower(email) = lower('ab@hexor.cy')
AND (is_active <> 1 OR prohibit_login <> 0);
SELECT printf(
'gitea user watchdog: id=%d login=%s email=%s is_active=%d prohibit_login=%d updated_unix=%d',
id, lower_name, email, is_active, prohibit_login, updated_unix
)
FROM \"user\"
WHERE lower(email) = lower('ab@hexor.cy');
"
volumeMounts:
- name: storage
mountPath: /data
+45
View File
@@ -0,0 +1,45 @@
---
apiVersion: traefik.io/v1alpha1
kind: Middleware
metadata:
name: auth-proxy
spec:
forwardAuth:
address: http://auth-proxy.auth-proxy.svc:80/auth
trustForwardHeader: true
authResponseHeaders:
- X-Auth-Request-User
- X-Auth-Request-Email
- X-Auth-Request-Groups
---
apiVersion: traefik.io/v1alpha1
kind: IngressRoute
metadata:
name: prometheus
annotations:
cert-manager.io/cluster-issuer: letsencrypt
spec:
entryPoints:
- websecure
routes:
- match: Host(`prom.hexor.cy`)
kind: Rule
middlewares:
- name: auth-proxy
services:
- name: prometheus-kube-prometheus-prometheus
port: 9090
tls:
secretName: prometheus-tls
---
apiVersion: cert-manager.io/v1
kind: Certificate
metadata:
name: prometheus-tls
spec:
secretName: prometheus-tls
issuerRef:
name: letsencrypt
kind: ClusterIssuer
dnsNames:
- prom.hexor.cy
+1
View File
@@ -4,6 +4,7 @@ kind: Kustomization
resources:
- persistentVolume.yaml
- external-secrets.yaml
- ingress.yaml
- grafana-alerting-configmap.yaml
- alertmanager-config.yaml
- dashboards/telemt-dashboard-cm.yaml
+2 -3
View File
@@ -1,4 +1,3 @@
alertmanager:
config:
global:
@@ -25,7 +24,7 @@ alertmanager:
{{ end }}
ingress:
enabled: true
enabled: false
ingressClassName: traefik
annotations:
cert-manager.io/cluster-issuer: letsencrypt
@@ -46,7 +45,7 @@ alertmanager:
prometheus:
ingress:
enabled: true
enabled: false
ingressClassName: traefik
annotations:
cert-manager.io/cluster-issuer: letsencrypt
+4
View File
@@ -16,6 +16,10 @@ proxy_applications = {
domain = "pass.hexor.cy"
allowed_groups = ["hexor-admin", "app-pass"]
}
Prometheus = {
domain = "prom.hexor.cy"
allowed_groups = ["hexor-admin"]
}
}
oauth2_applications = {