Giter VIP home page Giter VIP logo

charts's Issues

openzaaktypebeheer configmap env vars

Only set envvars when defined in values.yaml

E.g.

  {{- if .Values.extraVerifyCerts }}
  EXTRA_VERIFY_CERTS: {{ .Values.extraVerifyCerts | toString | quote }}
  {{- end }}

Setting the probes to empty dicts breaks the indentation

In openarchiefbeheer, setting these fields in the values.yaml:

livenessProbe: {}
readinessProbe: {}

results in

charts/charts/openarchiefbeheer$ helm lint .
==> Linting .
[INFO] Chart.yaml: icon is recommended
[ERROR] templates/deployment.yaml: unable to parse YAML: error converting YAML to JSON: yaml: line 56: did not find expected key

Error: 1 chart(s) linted, 1 chart(s) failed

While setting the probes to:

livenessProbe:
  initialDelaySeconds: 60
  periodSeconds: 10
  timeoutSeconds: 5
  failureThreshold: 6
  successThreshold: 1

readinessProbe:
  initialDelaySeconds: 30
  periodSeconds: 10
  timeoutSeconds: 5
  failureThreshold: 6
  successThreshold: 1

Results in a chart without errors when running helm lint.

We need to find a way to disable the probes without breaking the chart.

Support setting DISABLE_2FA in helm chart

Setting the DISABLE_2FA environment variable for the components that support this setting should be supported in the helm charts of those components (like open-zaak) with something like settings.disable_2fa=true.

openforms: opt in nginx config client_max_body_size

There are now 2 (3 if you count ingress) places to configure max upload:

Application:

settings.maxFileUpload

nginx:

nginx.config.clientMaxBodySize

This is confusing, the default values are also not the same.

Change nginx config to opt in.

Helm charts voor Objects en Objecttypes API

In de repo's van Objects en Object types staan ook Helm charts, maar zijn al ouder. Welke kunnen we het beste gebruiken voor installatie bij SSC Enschede op Azure AKS?

(overigens fijn dat jullie Helm charts maken voor al deze componenten)

Remove unnecessary variables from the helper files

Not all charts need these vars:

{{/*
Worker labels
*/}}
{{- define "<name>.workerLabels" -}}
{{ include "<name>.commonLabels" . }}
{{ include "<name>.workerSelectorLabels" . }}
{{- end }}

{{/*
Worker selector labels
*/}}
{{- define "<name>.workerSelectorLabels" -}}
app.kubernetes.io/name: {{ include "<name>.workerName" . }}
{{- end }}

We should check from which charts it can be removed.

openzaaktypebeheer 404 /login not found

When you go to for example: https://openzaaktypebeheer.test.opengem.nl/

You will end up at https://openzaaktypebeheer.test.opengem.nl/login
When you refresh you get a 404, because /login is not found.

A dirty fix that works and could be added to the chart configmap add to nginx config:

      location ~ ^/login {
        return 301 https://openzaaktypebeheer.test.opengem.nl;

@SilviaAmAm Something that should be fixed in the application or maybe have a better location in nginx where this /login should go?

openforms: opt in rate limit /discovery endpoint

 default.conf: |
    # Rate limiting configuration - allow 1 request per second. 10m can track about 80000 clients.
    limit_req_zone $binary_remote_addr zone={{ include "openforms.fullname" . }}.{{ .Release.Namespace }}_discover:10m rate=1r/s;

Make it opt in, you might want to configure this at the infrastructure level (ingress / loadbalancer / etc).

Add global configuration.enabled value

Add a value: .Values.global.configuration.enabled to globally enable or disable configuration for all charts.
Configuration in a particular chart should only take place when both .Values.global.configuration.enabled and .Values.configuration.enabled are true.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.