Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ql 0.1.21 #99

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion charts/quantumleap/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v1
description: A Helm chart for QuantumLeap
name: quantumleap
version: 0.1.20
version: 0.1.21
sources:
- https://github.com/orchestracities/ngsi-timeseries-api
maintainers:
Expand Down
7 changes: 7 additions & 0 deletions charts/quantumleap/README.MD
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,7 @@ The following table lists the configurable parameters of the Quantum Leap chart
| `ingress.tls` | | `{}` |
| `resources` | Any resources you wish to assign to the pod | `{}` |
| `init` | Init section enable init image to configure | `password: password` |
| | the secret used to store db password | ` passwordSecret: secret` |
| | TimescaleDB (option not required using only | `image:` |
| | CrateDB) | ` repository: orchestracities/quantumleap-pg-init` |
| | | ` tag: latest` |
Expand All @@ -157,6 +158,7 @@ The following table lists the configurable parameters of the Quantum Leap chart
| | | ` name: quantumleap` |
| | | ` user: quantumleap` |
| | | ` password: quantumleap` |
| | the secret used to store db password | ` passwordSecret: secret` |
| | | ` ssl: true` |
| `config` | Section to configure db support per tenant | `{}` |
| `runtime` | Section to configure Quantum Leap's runtime | `runtime:` |
Expand Down Expand Up @@ -184,6 +186,11 @@ The following table lists the configurable parameters of the Quantum Leap chart
| | | ` successTtl: 86400` |
| | | ` workers: 0` |
| `resources` | | `{}` |
| `additionalLabels` | If specified, defines labels to be attached to pods | `fiware/platform: fiware` |
| | | `fiware/component: core` |
| | | `fiware/subcomponent: historical` |
| | | `fiware/product: quantumleap` |
| `additionalAnnotations` | Additional annotations for the deployment, if required | `{}` |

Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`.

Expand Down
2 changes: 1 addition & 1 deletion charts/quantumleap/templates/autoscaler.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ metadata:
name: {{ template "quantumleap.fullname" . }}
spec:
scaleTargetRef:
apiVersion: apps/v1beta1
apiVersion: apps/v1
kind: Deployment
name: {{ template "quantumleap.fullname" . }}
minReplicas: {{ .Values.autoscaling.minReplicas }}
Expand Down
14 changes: 14 additions & 0 deletions charts/quantumleap/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,25 @@ spec:
{{- if not .Values.autoscaling.enabled }}
replicas: {{ .Values.replicaCount }}
{{- end }}
revisionHistoryLimit: {{ .Values.revisionHistoryLimit | default 3 }}
strategy:
{{ toYaml .Values.updateStrategy | indent 4 }}
template:
metadata:
annotations:
chaos.alpha.kubernetes.io/enabled: "{{ .Values.chaos.enabled }}"
checksum/config: {{ include (print $.Template.BasePath "/configmap.yaml") . | sha256sum }}
{{- if .Values.additionalAnnotations }}
{{- with .Values.additionalAnnotations }}
{{- toYaml . | nindent 8 }}
{{- end }}
{{- end }}
labels:
app: {{ template "quantumleap.name" . }}
release: {{ .Release.Name }}
{{- with .Values.additionalLabels }}
{{- toYaml . | nindent 8 }}
{{- end }}
spec:
{{- if .Values.priorityClassName }}
priorityClassName: {{ .Values.priorityClassName }}
Expand Down Expand Up @@ -190,6 +200,10 @@ spec:
nodeSelector:
{{ toYaml .Values.nodeSelector | indent 8 }}
{{- end }}
{{- with .Values.tolerations }}
tolerations:
{{- toYaml . | nindent 8 }}
{{- end }}
volumes:
{{- if .Values.config }}
- name: config
Expand Down
8 changes: 8 additions & 0 deletions charts/quantumleap/values.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
# Default values for quantumleap.
# This is a YAML-formatted file.
# Declare variables to be passed into your templates.
additionalLabels:
fiware/platform: fiware
fiware/component: core
fiware/subcomponent: historical
fiware/product: quantumleap
# -- additional annotations for the deployment, if required
additionalAnnotations: {}

replicaCount: 2
image:
repository: orchestracities/quantumleap
Expand Down