Compare commits

..

1 Commits

Author SHA1 Message Date
Gitea Actions Bot dd39a85c5e Auto-update README with current k8s applications
Terraform / Terraform (pull_request) Failing after 14s
Generated by CI/CD workflow on 2026-05-05 18:40:24

This PR updates the README.md file with the current list of applications found in the k8s/ directory structure.
2026-05-05 18:40:24 +00:00
7 changed files with 30 additions and 37 deletions
-1
View File
@@ -13,7 +13,6 @@ permissions:
jobs: jobs:
terraform: terraform:
name: 'Terraform' name: 'Terraform'
if: false
runs-on: ubuntu-latest runs-on: ubuntu-latest
environment: production environment: production
+1 -3
View File
@@ -6,8 +6,6 @@ metadata:
app: web-petting app: web-petting
spec: spec:
replicas: 1 replicas: 1
strategy:
type: Recreate
selector: selector:
matchLabels: matchLabels:
app: web-petting app: web-petting
@@ -24,7 +22,7 @@ spec:
claimName: web-petting-data claimName: web-petting-data
containers: containers:
- name: web-petting - name: web-petting
image: ultradesu/web-petting:latest image: ultradesu/web-petting:0.1.0
imagePullPolicy: Always imagePullPolicy: Always
args: args:
# - "tail" # - "tail"
-13
View File
@@ -20,21 +20,8 @@ spec:
name: web-petting name: web-petting
port: port:
number: 80 number: 80
- host: xn--l1acako8eb.xn--p1ai
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: web-petting
port:
number: 80
tls: tls:
- secretName: web-petting-tls - secretName: web-petting-tls
hosts: hosts:
- pet.hexor.cy - pet.hexor.cy
- secretName: web-petting-murnyanya-tls
hosts:
- xn--l1acako8eb.xn--p1ai
+9 -17
View File
@@ -23,22 +23,14 @@ configs:
admin.enabled: false admin.enabled: false
statusbadge.enabled: true statusbadge.enabled: true
timeout.reconciliation: 60s timeout.reconciliation: 60s
dex.config: | oidc.config: |
connectors: name: Keycloak
- type: oidc issuer: https://auth.hexor.cy/auth/realms/hexor
id: keycloak clientID: $oidc-creds:id
name: Keycloak clientSecret: $oidc-creds:secret
config: requestedScopes: ["openid", "profile", "email", "offline_access"]
issuer: https://auth.hexor.cy/auth/realms/hexor requestedIDTokenClaims: {"groups": {"essential": true}}
clientID: $oidc-creds:id refreshTokenThreshold: 2m
clientSecret: $oidc-creds:secret
insecureEnableGroups: true
scopes:
- openid
- profile
- email
- offline_access
getUserInfo: true
rbac: rbac:
create: true create: true
policy.default: "" policy.default: ""
@@ -72,7 +64,7 @@ dex:
replicas: 1 replicas: 1
nodeSelector: nodeSelector:
<<: *nodeSelector <<: *nodeSelector
enabled: true enabled: false
# Standard Redis disabled because Redis HA is enabled # Standard Redis disabled because Redis HA is enabled
redis: redis:
-2
View File
@@ -35,6 +35,4 @@ spec:
dnsZones: dnsZones:
- "*.hexor.cy" - "*.hexor.cy"
- "hexor.cy" - "hexor.cy"
- "*.xn--l1acako8eb.xn--p1ai"
- "xn--l1acako8eb.xn--p1ai"
@@ -43,6 +43,23 @@ proxy_applications = {
access_groups = ["admins"] access_groups = ["admins"]
} }
"kubernetes-secrets" = {
name = "kubernetes-secrets"
slug = "k8s-secret"
group = "Core"
external_host = "https://pass.hexor.cy"
internal_host = "http://secret-reader.k8s-secret.svc:80"
internal_host_ssl_validation = false
meta_description = ""
skip_path_regex = <<-EOT
/webhook
EOT
meta_icon = "https://img.icons8.com/ios-filled/50/password.png"
mode = "proxy"
outpost = "kubernetes-outpost"
create_group = true
access_groups = ["admins"]
}
"mtproxy-links" = { "mtproxy-links" = {
name = "mtproxy-links" name = "mtproxy-links"
slug = "mtproxy-links" slug = "mtproxy-links"
+3 -1
View File
@@ -167,7 +167,9 @@ resource "keycloak_openid_client_optional_scopes" "oauth2_app" {
} }
resource "keycloak_group" "oauth2_app" { resource "keycloak_group" "oauth2_app" {
for_each = var.oauth2_applications for_each = {
for k, v in var.oauth2_applications : k => v if length(v.allowed_groups) > 0
}
realm_id = keycloak_realm.hexor.id realm_id = keycloak_realm.hexor.id
name = "app-${each.key}" name = "app-${each.key}"