maykinmedia / charts Goto Github PK
View Code? Open in Web Editor NEWMaykinmedia Helm Charts
Maykinmedia Helm Charts
title
When a PR is made, check that helm lint
succeeds. Otherwise block merging.
e.g. extra volume mounts, extra verify certs, etc.
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)
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).
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.
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.
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.
The following values in the values.yaml are missing:
persistence:
mediaMountSubpath: openinwoner/media
privateMediaMountSubpath: openinwoner/private_media
Only set envvars when defined in values.yaml
E.g.
{{- if .Values.extraVerifyCerts }}
EXTRA_VERIFY_CERTS: {{ .Values.extraVerifyCerts | toString | quote }}
{{- end }}
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.
Add support for deploying openinwoner on Google Cloud Platform (GCP). A GKE ingress results in a GCP loadbalancer wich requires a backend config Kubernetes resource.
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?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.