update passmower deployment

This commit is contained in:
Erki Aas 2024-07-29 15:59:45 +03:00
parent b737d37b9c
commit 480ff4f426

View File

@ -11,20 +11,6 @@ metadata:
app.kubernetes.io/version: "0.1.0" app.kubernetes.io/version: "0.1.0"
app.kubernetes.io/managed-by: Helm 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 # Source: passmower/templates/crds.yaml
apiVersion: apiextensions.k8s.io/v1 apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition kind: CustomResourceDefinition
@ -546,6 +532,8 @@ spec:
value: "k-space" value: "k-space"
- name: ADMIN_GROUP - name: ADMIN_GROUP
value: "k-space:onboarding" value: "k-space:onboarding"
- name: REQUIRED_GROUP
value: ""
- name: GITHUB_ORGANIZATION - name: GITHUB_ORGANIZATION
value: "codemowers" value: "codemowers"
- name: ENROLL_USERS - name: ENROLL_USERS
@ -583,15 +571,15 @@ spec:
value: https value: https
livenessProbe: livenessProbe:
httpGet: httpGet:
path: /.well-known/openid-configuration path: /health
port: 3000 port: 9090
httpHeaders: httpHeaders:
- name: x-forwarded-for # suppress oidc-provider warning - name: x-forwarded-for # suppress oidc-provider warning
value: https://auth.k-space.ee/ value: https://auth.k-space.ee/
- name: x-forwarded-proto # suppress oidc-provider warning - name: x-forwarded-proto # suppress oidc-provider warning
value: https value: https
initialDelaySeconds: 5 initialDelaySeconds: 30
periodSeconds: 1 periodSeconds: 3
volumeMounts: volumeMounts:
- mountPath: /app/tos - mountPath: /app/tos
name: tos name: tos
@ -666,3 +654,6 @@ spec:
name: passmower name: passmower
port: port:
number: 80 number: 80
---
# Source: passmower/templates/texts.yaml
---