Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
jusa3 committed Jan 14, 2025
1 parent 974fee1 commit 43fbd20
Show file tree
Hide file tree
Showing 7 changed files with 2 additions and 35 deletions.
2 changes: 1 addition & 1 deletion k8s/preview/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.1.7
version: 0.1.8

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand Down
5 changes: 0 additions & 5 deletions k8s/preview/templates/backend.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,6 @@ spec:
containers:
- image: {{ .Values.images.backend }}
name: backend
resources:
limits:
memory: 1000Mi
requests:
memory: 100Mi
env:
- name: MONGO_HOST
value: "{{ .Release.Name }}-mongo"
Expand Down
5 changes: 0 additions & 5 deletions k8s/preview/templates/elastic.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,6 @@ spec:
containers:
- name: elasticsearch
image: elasticsearch:7.9.3
resources:
limits:
memory: 2000Mi
requests:
memory: 200Mi
env:
- name: discovery.type
value: single-node
Expand Down
14 changes: 0 additions & 14 deletions k8s/preview/templates/frontend.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,20 +14,6 @@ spec:
containers:
- name: frontend
image: {{ .Values.images.frontend }}
resources:
limits:
memory: 500Mi
requests:
memory: 100Mi
env:
- name: API_PASS
value: http://{{ .Release.Name }}-backend:5000
- name: KEYCLOAK_URL
value: {{ .Values.oidc.frontend.authority }}
- name: KEYCLOAK_CLIENTID
value: {{ .Values.oidc.frontend.clientid }}
- name: KEYCLOAK_REALM
value: {{ .Values.oidc.frontend.realm }}
ports:
- containerPort: 80
---
Expand Down
5 changes: 0 additions & 5 deletions k8s/preview/templates/mongo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,6 @@ spec:
containers:
- name: mongo
image: mongo
resources:
limits:
memory: 1000Mi
requests:
memory: 500Mi
env:
- name: MONGO_INITDB_ROOT_PASSWORD
valueFrom:
Expand Down
2 changes: 1 addition & 1 deletion k8s/preview/templates/mongodump.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ spec:
key: password
optional: false
command: [ "/bin/sh","-c" ]
args: [ "mongodump --host=$MONGO_HOST --username=$MONGO_USERNAME --password=$MONGO_PASSWORD --authenticationDatabase=admin --db=feedback --gzip --archive=mongodbdump$(date +%Y-%m-%d).archive.gz; s3cmd --host=${S3_HOST} --access_key=${S3_KEYID} --secret_key=${S3_KEY} --host-bucket=${S3_BUCKET}.${S3_HOST} put mongodbdump$(date +%Y-%m-%d).archive.gz s3://${S3_BUCKET}/mongodbdump$(date +%Y-%m-%d).archive.gz" ]
args: [ "mongodump --host=$MONGO_HOST --username=$MONGO_USERNAME --password=$MONGO_PASSWORD --authenticationDatabase=admin --gzip --archive=mongodbdump$(date +%Y-%m-%d).archive.gz; s3cmd --host=${S3_HOST} --access_key=${S3_KEYID} --secret_key=${S3_KEY} --host-bucket=${S3_BUCKET}.${S3_HOST} put mongodbdump$(date +%Y-%m-%d).archive.gz s3://${S3_BUCKET}/mongodbdump$(date +%Y-%m-%d).archive.gz" ]
restartPolicy: Never
backoffLimit: 4

Expand Down
4 changes: 0 additions & 4 deletions k8s/preview/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,6 @@ ingress:
enableSSL:
certIssuer:
oidc:
frontend:
clientid:
authority:
realm:
backend:
elasticindex:
data_import:
Expand Down

0 comments on commit 43fbd20

Please sign in to comment.