-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
BREAKING CHANGE: create db password secret; move values in frond- and backend; use ImplementationSpecific ingress path on backend
- Loading branch information
Showing
9 changed files
with
99 additions
and
377 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 7 additions & 0 deletions
7
terminfinder-chart/charts/terminfinder-backend/templates/secret-database.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
apiVersion: v1 | ||
kind: Secret | ||
metadata: | ||
name: postgresql-default-auth | ||
type: kubernetes.io/basic-auth | ||
stringData: | ||
password: {{ randAlphaNum 20 | b64enc | quote }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,12 @@ | ||
# Default values for terminfinder-frontend. | ||
# This is a YAML-formatted file. | ||
# Declare variables to be passed into your templates. | ||
application: | ||
customerId: "80248A42-8FE2-4D4A-89DA-02E683511F76" | ||
apiUrl: "" | ||
title: "" | ||
locale: "de-DE" | ||
addressing: "du" | ||
email: "[email protected]" | ||
|
||
customerConfig: | ||
ADDRESSING: "du" # supported: du, sie | ||
LOCALE: "de-DE" # supported: DE-de, EN-en | ||
TITLE: "Terminfinder Demo" | ||
EMAIL: "" | ||
|
||
app: | ||
backend_url: https://terminfinder.opencode.de/api # Public URL to Backend | ||
|
||
replicaCount: 1 # Not HA for now! | ||
replicaCount: 1 | ||
|
||
image: | ||
repository: registry.opencode.de/dataport/terminfinder/terminfinder-frontend | ||
|
@@ -23,12 +18,8 @@ nameOverride: "" | |
fullnameOverride: "" | ||
|
||
serviceAccount: | ||
# Specifies whether a service account should be created | ||
create: true | ||
# Annotations to add to the service account | ||
create: false | ||
annotations: { } | ||
# The name of the service account to use. | ||
# If not set and create is true, a name is generated using the fullname template | ||
name: "" | ||
|
||
podAnnotations: { } | ||
|
@@ -41,39 +32,26 @@ podSecurityContext: | |
|
||
securityContext: | ||
capabilities: | ||
# add: | ||
# - NET_BIND_SERVICE | ||
drop: | ||
- ALL | ||
readOnlyRootFilesystem: false | ||
# runAsUser: 1000 | ||
|
||
service: | ||
type: ClusterIP | ||
port: 80 | ||
port: 8080 | ||
|
||
ingress: | ||
enabled: false | ||
enabled: true | ||
className: "nginx" | ||
annotations: | ||
{ } | ||
# kubernetes.io/ingress.class: nginx | ||
# nginx.ingress.kubernetes.io/ssl-redirect: "true" | ||
# cert-manager.io/cluster-issuer: letsencrypt-production | ||
hosts: | ||
- host: terminfinder.opencode.de | ||
- host: localhost | ||
port: 80 | ||
paths: | ||
- path: / | ||
pathType: Prefix | ||
tls: [ ] | ||
# - secretName: cert-terminfinder.opencode.de | ||
# hosts: | ||
# - terminfinder.de | ||
|
||
resources: | ||
# We recommend to not use limits, since workload spikes can hinder the application or cause crashes | ||
# due to OOM errors. Read more about it here: | ||
# https://cloud.google.com/blog/products/containers-kubernetes/kubernetes-best-practices-resource-requests-and-limits?hl=en | ||
limits: | ||
cpu: 500m | ||
memory: 256Mi | ||
|
@@ -86,7 +64,6 @@ autoscaling: | |
minReplicas: 1 | ||
maxReplicas: 20 | ||
targetCPUUtilizationPercentage: 80 | ||
# targetMemoryUtilizationPercentage: 80 | ||
|
||
nodeSelector: { } | ||
|
||
|
Oops, something went wrong.