Skip to content
Snippets Groups Projects
Commit 4573586c authored by Martin Weise's avatar Martin Weise
Browse files

Merge branch 'hotfix/helm-chart' into dev

parents 9822d437 253c3e3e
Branches
Tags
4 merge requests!433Updated changelog,!432Updated changelog,!429Updated changelog,!427Updated changelog
...@@ -381,7 +381,7 @@ services: ...@@ -381,7 +381,7 @@ services:
ports: ports:
- "80:8080" - "80:8080"
volumes: volumes:
- ./conf/dbrepo.conf:/opt/bitnami/nginx/conf/server_blocks/dbrepo.conf:ro - ./config/dbrepo.conf:/opt/bitnami/nginx/conf/server_blocks/dbrepo.conf:ro
depends_on: depends_on:
dbrepo-analyse-service: dbrepo-analyse-service:
condition: service_healthy condition: service_healthy
......
...@@ -29,3 +29,5 @@ img.img-border { ...@@ -29,3 +29,5 @@ img.img-border {
.md-main .md-content a:not(.action-button):not([tabindex]):hover { .md-main .md-content a:not(.action-button):not([tabindex]):hover {
color: var(--md-primary-fg-color--dark); color: var(--md-primary-fg-color--dark);
border-bottom: 2px solid var(--md-primary-fg-color--dark); } border-bottom: 2px solid var(--md-primary-fg-color--dark); }
/*# sourceMappingURL=extra.css.map */
{ {
"version": 3, "version": 3,
"mappings": "AAAA;6BAC8B;EAC5B,qBAAqB,CAAC,QAAQ;EAC9B,oBAAoB,CAAC,QAAQ;EAAE,gBAAgB;EAC/C,2BAA2B,CAAC,QAAQ;EAAE,gBAAgB;;AAGxD,8BAA+B;EAC7B,QAAQ,CAAC,IAAI;EACb,qBAAqB,CAAC,uBAAuB;;AAG/C,cAAe;EACb,MAAM,EAAE,iBAAiB;;AAG3B,yCAA0C;EACxC,KAAK,EAAE,gBAAgB;;AAIvB,oGACQ;EACN,KAAK,EAAE,gCAAgC;EACvC,UAAU,EAAE,OAAO;;AAIvB;0DAC2D;EACzD,KAAK,EAAE,0BAA0B;EACjC,aAAa,EAAE,oCAAoC;EAEnD;;kEACQ;IACN,KAAK,EAAE,gCAAgC;IACvC,aAAa,EAAE,0CAA0C;;AAK7D,UAAW;EACT,gBAAgB,EAAE,gCAAgC", "mappings": "AAAA;6BAC8B;EAC5B,qBAAqB,CAAC,QAAQ;EAC9B,oBAAoB,CAAC,QAAQ;EAAE,gBAAgB;EAC/C,2BAA2B,CAAC,QAAQ;EAAE,gBAAgB;;AAGxD,8BAA+B;EAC7B,QAAQ,CAAC,IAAI;EACb,qBAAqB,CAAC,uBAAuB;;AAG/C,cAAe;EACb,MAAM,EAAE,iBAAiB;;AAG3B,yCAA0C;EACxC,KAAK,EAAE,gBAAgB;;AAIvB,oGACQ;EACN,KAAK,EAAE,gCAAgC;EACvC,UAAU,EAAE,OAAO;;AAIvB;0DAC2D;EACzD,KAAK,EAAE,0BAA0B;EACjC,aAAa,EAAE,oCAAoC;EAEnD;;kEACQ;IACN,KAAK,EAAE,gCAAgC;IACvC,aAAa,EAAE,0CAA0C",
"sources": ["extra.scss"], "sources": ["extra.scss"],
"names": [], "names": [],
"file": "extra.css" "file": "extra.css"
......
...@@ -7,6 +7,9 @@ RUN apk --no-cache add \ ...@@ -7,6 +7,9 @@ RUN apk --no-cache add \
WORKDIR /app WORKDIR /app
RUN mkdir -p /app/config && \
chown -R 1001:1001 /app/config
RUN mkdir -p /var/log/app/service/storage && \ RUN mkdir -p /var/log/app/service/storage && \
chown -R 1001:1001 /var/log/app/service/storage chown -R 1001:1001 /var/log/app/service/storage
......
#!/bin/bash #!/bin/bash
cat << EOF > /app/.s3cfg cat << EOF > /app/config/.s3cfg
access_key = ${S3_ACCESS_KEY_ID} access_key = ${S3_ACCESS_KEY_ID}
secret_key = ${S3_SECRET_ACCESS_KEY} secret_key = ${S3_SECRET_ACCESS_KEY}
# Setup endpoint # Setup endpoint
...@@ -15,15 +15,15 @@ function log() { ...@@ -15,15 +15,15 @@ function log() {
} }
# create bucket # create bucket
if s3cmd --config=/app/.s3cfg ls | grep -q "s3://${S3_BUCKET}"; then if s3cmd --config=/app/config/.s3cfg ls | grep -q "s3://${S3_BUCKET}"; then
echo "[INFO] Bucket s3://${S3_BUCKET} already exists, skip" echo "[INFO] Bucket s3://${S3_BUCKET} already exists, skip"
log "INFO" "Bucket s3://${S3_BUCKET} already exists, skip" log "INFO" "Bucket s3://${S3_BUCKET} already exists, skip"
else else
if ! s3cmd --config=/app/.s3cfg mb s3://${S3_BUCKET}; then if ! s3cmd --config=/app/config/.s3cfg mb s3://${S3_BUCKET}; then
echo "[ERROR] Failed to create bucket s3://${S3_BUCKET}" echo "[ERROR] Failed to create bucket s3://${S3_BUCKET}"
log "ERROR" "Failed to create bucket s3://${S3_BUCKET}" log "ERROR" "Failed to create bucket s3://${S3_BUCKET}"
fi fi
fi fi
# expire daily # expire daily
s3cmd --config=/app/.s3cfg expire s3://${S3_BUCKET} --expiry-prefix "" --expiry-days 1 s3cmd --config=/app/config/.s3cfg expire s3://${S3_BUCKET} --expiry-prefix "" --expiry-days 1
\ No newline at end of file \ No newline at end of file
...@@ -35,9 +35,15 @@ spec: ...@@ -35,9 +35,15 @@ spec:
envFrom: envFrom:
- secretRef: - secretRef:
name: auth-service-secret name: auth-service-secret
volumeMounts:
- name: empty-dir
mountPath: /var/log/app/service/auth
{{- if .Values.authservice.setupJob.resources }} {{- if .Values.authservice.setupJob.resources }}
resources: {{- toYaml .Values.authservice.setupJob.resources | nindent 12 }} resources: {{- toYaml .Values.authservice.setupJob.resources | nindent 12 }}
{{- else if ne .Values.authservice.setupJob.resourcesPreset "none" }} {{- else if ne .Values.authservice.setupJob.resourcesPreset "none" }}
resources: {{- include "common.resources.preset" (dict "type" .Values.authservice.setupJob.resourcesPreset) | nindent 12 }} resources: {{- include "common.resources.preset" (dict "type" .Values.authservice.setupJob.resourcesPreset) | nindent 12 }}
{{- end }} {{- end }}
volumes:
- name: empty-dir
emptyDir: { }
{{- end }} {{- end }}
...@@ -77,7 +77,7 @@ metadatadb: ...@@ -77,7 +77,7 @@ metadatadb:
## @param metadatadb.persistence.enabled Enable persistent storage. ## @param metadatadb.persistence.enabled Enable persistent storage.
enabled: true enabled: true
## @param metadatadb.replicaCount The number of cluster nodes, should be uneven i.e. 2n+1 ## @param metadatadb.replicaCount The number of cluster nodes, should be uneven i.e. 2n+1
replicaCount: 1 replicaCount: 3
## @section Dashboard Database Enable the Dashboard Database. ## @section Dashboard Database Enable the Dashboard Database.
...@@ -141,7 +141,7 @@ authservice: ...@@ -141,7 +141,7 @@ authservice:
setupJob: setupJob:
image: image:
## @skip authservice.setupJob.image.name ## @skip authservice.setupJob.image.name
name: registry.datalab.tuwien.ac.at/dbrepo/auth-service-init:1.9.2 name: registry.datalab.tuwien.ac.at/dbrepo/auth-service-init:1.9.1
## @param authservice.setupJob.resourcesPreset The container resource preset ## @param authservice.setupJob.resourcesPreset The container resource preset
resourcesPreset: "nano" resourcesPreset: "nano"
## @param authservice.setupJob.resources Set container requests and limits for different resources like CPU or memory (essential for production workloads) ## @param authservice.setupJob.resources Set container requests and limits for different resources like CPU or memory (essential for production workloads)
...@@ -213,7 +213,7 @@ datadb: ...@@ -213,7 +213,7 @@ datadb:
## @skip datadb.metrics.enabled The Prometheus settings. ## @skip datadb.metrics.enabled The Prometheus settings.
enabled: true enabled: true
## @param datadb.replicaCount The number of cluster nodes, should be uneven i.e. 2n+1 ## @param datadb.replicaCount The number of cluster nodes, should be uneven i.e. 2n+1
replicaCount: 1 replicaCount: 3
## @param datadb.resourcesPreset The container resource preset ## @param datadb.resourcesPreset The container resource preset
resourcesPreset: "xlarge" resourcesPreset: "xlarge"
## @param datadb.initdbScriptsConfigMap The setup data to load into the database on first start. ## @param datadb.initdbScriptsConfigMap The setup data to load into the database on first start.
...@@ -235,28 +235,9 @@ searchdb: ...@@ -235,28 +235,9 @@ searchdb:
host: search-db host: search-db
## @param searchdb.port The port for the microservices. ## @param searchdb.port The port for the microservices.
port: 9200 port: 9200
coordinating:
## @param searchdb.coordinating.resourcesPreset The container resource preset
resourcesPreset: "small"
## @param searchdb.coordinating.replicaCount The number of pod replicas.
replicaCount: 1
ingest: ingest:
## @skip searchdb.ingest.enabled The limited default payload does not require this node type. ## @skip searchdb.ingest.enabled The limited default payload does not require this node type.
enabled: false enabled: false
## @param searchdb.ingest.resourcesPreset The container resource preset
resourcesPreset: "micro"
## @param searchdb.ingest.replicaCount The number of pod replicas.
replicaCount: 1
master:
## @param searchdb.master.resourcesPreset The container resource preset
resourcesPreset: "small"
## @param searchdb.master.replicaCount The number of pod replicas.
replicaCount: 1
data:
## @param searchdb.data.resourcesPreset The container resource preset
resourcesPreset: "medium"
## @param searchdb.data.replicaCount The number of pod replicas.
replicaCount: 1
security: security:
## @skip searchdb.security.enabled ## @skip searchdb.security.enabled
enabled: false enabled: false
...@@ -410,7 +391,7 @@ brokerservice: ...@@ -410,7 +391,7 @@ brokerservice:
- name: logging-config - name: logging-config
mountPath: /tmp/rabbitmq # irrelevant but needed from bitnami chart mountPath: /tmp/rabbitmq # irrelevant but needed from bitnami chart
## @param brokerservice.replicaCount The number of replicas. ## @param brokerservice.replicaCount The number of replicas.
replicaCount: 1 replicaCount: 3
## @section Analyse Service ## @section Analyse Service
...@@ -419,7 +400,7 @@ analyseservice: ...@@ -419,7 +400,7 @@ analyseservice:
enabled: true enabled: true
image: image:
## @skip analyseservice.image.name ## @skip analyseservice.image.name
name: registry.datalab.tuwien.ac.at/dbrepo/analyse-service:1.9.2 name: registry.datalab.tuwien.ac.at/dbrepo/analyse-service:1.9.1
## @param analyseservice.podAnnotations the pod annotations. Evaluated as a template ## @param analyseservice.podAnnotations the pod annotations. Evaluated as a template
## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/ ## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
podAnnotations: { } podAnnotations: { }
...@@ -483,7 +464,7 @@ metadataservice: ...@@ -483,7 +464,7 @@ metadataservice:
enabled: true enabled: true
image: image:
## @skip metadataservice.image.name ## @skip metadataservice.image.name
name: registry.datalab.tuwien.ac.at/dbrepo/metadata-service:1.9.2 name: registry.datalab.tuwien.ac.at/dbrepo/metadata-service:1.9.1
## @param metadataservice.podAnnotations the pod annotations. Evaluated as a template ## @param metadataservice.podAnnotations the pod annotations. Evaluated as a template
## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/ ## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
podAnnotations: { } podAnnotations: { }
...@@ -583,7 +564,7 @@ dataservice: ...@@ -583,7 +564,7 @@ dataservice:
endpoint: http://data-service endpoint: http://data-service
image: image:
## @skip dataservice.image.name ## @skip dataservice.image.name
name: registry.datalab.tuwien.ac.at/dbrepo/data-service:1.9.2 name: registry.datalab.tuwien.ac.at/dbrepo/data-service:1.9.1
## @param dataservice.podAnnotations the pod annotations. Evaluated as a template ## @param dataservice.podAnnotations the pod annotations. Evaluated as a template
## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/ ## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
podAnnotations: { } podAnnotations: { }
...@@ -672,7 +653,7 @@ searchservice: ...@@ -672,7 +653,7 @@ searchservice:
endpoint: http://search-service endpoint: http://search-service
image: image:
## @skip searchservice.image.name ## @skip searchservice.image.name
name: registry.datalab.tuwien.ac.at/dbrepo/search-service:1.9.2 name: registry.datalab.tuwien.ac.at/dbrepo/search-service:1.9.1
## @param searchservice.podAnnotations the pod annotations. Evaluated as a template ## @param searchservice.podAnnotations the pod annotations. Evaluated as a template
## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/ ## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
podAnnotations: { } podAnnotations: { }
...@@ -724,7 +705,7 @@ searchservice: ...@@ -724,7 +705,7 @@ searchservice:
enabled: true enabled: true
image: image:
## @skip searchservice.setupJob.image.name ## @skip searchservice.setupJob.image.name
name: registry.datalab.tuwien.ac.at/dbrepo/search-service-init:1.9.2 name: registry.datalab.tuwien.ac.at/dbrepo/search-service-init:1.9.1
## @param searchservice.setupJob.resourcesPreset The container resource preset ## @param searchservice.setupJob.resourcesPreset The container resource preset
resourcesPreset: "nano" resourcesPreset: "nano"
## @param searchservice.setupJob.resources Set container requests and limits for different resources like CPU or memory (essential for production workloads) ## @param searchservice.setupJob.resources Set container requests and limits for different resources like CPU or memory (essential for production workloads)
...@@ -787,7 +768,7 @@ storageservice: ...@@ -787,7 +768,7 @@ storageservice:
enabled: true enabled: true
image: image:
## @skip storageservice.setupJob.image.name ## @skip storageservice.setupJob.image.name
name: registry.datalab.tuwien.ac.at/dbrepo/storage-service-init:1.9.2 name: registry.datalab.tuwien.ac.at/dbrepo/storage-service-init:1.9.1
s3: s3:
## @param storageservice.setupJob.s3.endpoint The S3-capable endpoint the microservice connects to. ## @param storageservice.setupJob.s3.endpoint The S3-capable endpoint the microservice connects to.
endpoint: http://storage-service-s3:8333 endpoint: http://storage-service-s3:8333
...@@ -922,7 +903,7 @@ ui: ...@@ -922,7 +903,7 @@ ui:
enabled: true enabled: true
image: image:
## @skip ui.image.name ## @skip ui.image.name
name: registry.datalab.tuwien.ac.at/dbrepo/ui:1.9.2 name: registry.datalab.tuwien.ac.at/dbrepo/ui:1.9.1
## https://stackblitz.com/edit/nuxt-oidc-auth-keygen?file=index.js ## https://stackblitz.com/edit/nuxt-oidc-auth-keygen?file=index.js
oidc: oidc:
## @param ui.oidc.authSessionSecret This should be a at least 48 characters random string. It is used to encrypt the user session. ## @param ui.oidc.authSessionSecret This should be a at least 48 characters random string. It is used to encrypt the user session.
...@@ -1043,7 +1024,7 @@ dashboardservice: ...@@ -1043,7 +1024,7 @@ dashboardservice:
enabled: true enabled: true
image: image:
## @skip dashboardservice.image.name ## @skip dashboardservice.image.name
name: registry.datalab.tuwien.ac.at/dbrepo/dashboard-service:1.9.2 name: registry.datalab.tuwien.ac.at/dbrepo/dashboard-service:1.9.1
## @param dashboardservice.endpoint The endpoint for the microservices. ## @param dashboardservice.endpoint The endpoint for the microservices.
endpoint: http://dashboard-service endpoint: http://dashboard-service
## @param dashboardservice.podAnnotations the pod annotations. Evaluated as a template ## @param dashboardservice.podAnnotations the pod annotations. Evaluated as a template
...@@ -1098,7 +1079,7 @@ dashboardservice: ...@@ -1098,7 +1079,7 @@ dashboardservice:
enabled: true enabled: true
image: image:
## @skip dashboardservice.setupJob.image.name ## @skip dashboardservice.setupJob.image.name
name: registry.datalab.tuwien.ac.at/dbrepo/dashboard-service-init:1.9.2 name: registry.datalab.tuwien.ac.at/dbrepo/dashboard-service-init:1.9.1
## @param dashboardservice.setupJob.resourcesPreset The container resource preset ## @param dashboardservice.setupJob.resourcesPreset The container resource preset
resourcesPreset: "nano" resourcesPreset: "nano"
## @param dashboardservice.setupJob.resources Set container requests and limits for different resources like CPU or memory (essential for production workloads) ## @param dashboardservice.setupJob.resources Set container requests and limits for different resources like CPU or memory (essential for production workloads)
...@@ -1272,8 +1253,6 @@ gatewayservice: ...@@ -1272,8 +1253,6 @@ gatewayservice:
extraVolumeMounts: extraVolumeMounts:
- name: empty-dir - name: empty-dir
mountPath: /var/log/nginx mountPath: /var/log/nginx
- name: logging-config
mountPath: /tmp
## @param gatewayservice.replicaCount The number of replicas. ## @param gatewayservice.replicaCount The number of replicas.
replicaCount: 3 replicaCount: 3
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment