From 480ff4f426ebad48d39cc36a166b20c811c0c510 Mon Sep 17 00:00:00 2001 From: Erki Aas Date: Mon, 29 Jul 2024 15:59:45 +0300 Subject: [PATCH] update passmower deployment --- passmower/application.yaml | 27 +++++++++------------------ 1 file changed, 9 insertions(+), 18 deletions(-) diff --git a/passmower/application.yaml b/passmower/application.yaml index 444b7a0..39cf20b 100644 --- a/passmower/application.yaml +++ b/passmower/application.yaml @@ -11,20 +11,6 @@ metadata: app.kubernetes.io/version: "0.1.0" app.kubernetes.io/managed-by: Helm --- -# Source: passmower/templates/texts.yaml ---- -apiVersion: v1 -kind: ConfigMap -metadata: - name: passmower-email-templates -data: - link.subject: "Passmower login link" - link.txt: "Open the following link to log in: <%= url %>" - link.ejs: "" - tos.subject: "Terms of Service agreement confirmation" - tos.txt: "" - tos.ejs: "" ---- # Source: passmower/templates/crds.yaml apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition @@ -546,6 +532,8 @@ spec: value: "k-space" - name: ADMIN_GROUP value: "k-space:onboarding" + - name: REQUIRED_GROUP + value: "" - name: GITHUB_ORGANIZATION value: "codemowers" - name: ENROLL_USERS @@ -583,15 +571,15 @@ spec: value: https livenessProbe: httpGet: - path: /.well-known/openid-configuration - port: 3000 + path: /health + port: 9090 httpHeaders: - name: x-forwarded-for # suppress oidc-provider warning value: https://auth.k-space.ee/ - name: x-forwarded-proto # suppress oidc-provider warning value: https - initialDelaySeconds: 5 - periodSeconds: 1 + initialDelaySeconds: 30 + periodSeconds: 3 volumeMounts: - mountPath: /app/tos name: tos @@ -666,3 +654,6 @@ spec: name: passmower port: number: 80 +--- +# Source: passmower/templates/texts.yaml +---