Merge branch 'master' of github.com:budibase/budibase into helm-sqs
This commit is contained in:
commit
2196110f04
|
@ -0,0 +1,38 @@
|
||||||
|
name: PR labeler
|
||||||
|
|
||||||
|
concurrency:
|
||||||
|
group: ${{ github.workflow }}-${{ github.event.pull_request.number }}
|
||||||
|
cancel-in-progress: true
|
||||||
|
|
||||||
|
on:
|
||||||
|
pull_request:
|
||||||
|
types: [opened, synchronize]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
size-labeler:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: codelytv/pr-size-labeler@v1
|
||||||
|
with:
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
xs_max_size: "10"
|
||||||
|
s_max_size: "100"
|
||||||
|
m_max_size: "500"
|
||||||
|
l_max_size: "1000"
|
||||||
|
fail_if_xl: "false"
|
||||||
|
files_to_ignore: "yarn.lock"
|
||||||
|
|
||||||
|
team-labeler:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
if: ${{ github.event.action == 'opened' }}
|
||||||
|
steps:
|
||||||
|
- uses: rodrigoarias/auto-label-per-user@v1.0.0
|
||||||
|
with:
|
||||||
|
git-token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
user-team-map: |
|
||||||
|
{
|
||||||
|
"adrinr": "firestorm",
|
||||||
|
"samwho": "firestorm",
|
||||||
|
"pclmnt": "firestorm",
|
||||||
|
"mike12345567": "firestorm"
|
||||||
|
}
|
|
@ -214,6 +214,13 @@ spec:
|
||||||
- name: {{ .name }}
|
- name: {{ .name }}
|
||||||
value: {{ .value | quote }}
|
value: {{ .value | quote }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- range .Values.services.apps.extraEnvFromSecret}}
|
||||||
|
- name: {{ .name }}
|
||||||
|
valueFrom:
|
||||||
|
secretKeyRef:
|
||||||
|
name: {{ .secretName }}
|
||||||
|
key: {{ .secretKey | quote }}
|
||||||
|
{{- end}}
|
||||||
image: budibase/apps:{{ .Values.globals.appVersion | default .Chart.AppVersion }}
|
image: budibase/apps:{{ .Values.globals.appVersion | default .Chart.AppVersion }}
|
||||||
imagePullPolicy: Always
|
imagePullPolicy: Always
|
||||||
{{- if .Values.services.apps.startupProbe }}
|
{{- if .Values.services.apps.startupProbe }}
|
||||||
|
|
|
@ -201,6 +201,13 @@ spec:
|
||||||
- name: {{ .name }}
|
- name: {{ .name }}
|
||||||
value: {{ .value | quote }}
|
value: {{ .value | quote }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- range .Values.services.automationWorkers.extraEnvFromSecret}}
|
||||||
|
- name: {{ .name }}
|
||||||
|
valueFrom:
|
||||||
|
secretKeyRef:
|
||||||
|
name: {{ .secretName }}
|
||||||
|
key: {{ .secretKey | quote }}
|
||||||
|
{{- end}}
|
||||||
|
|
||||||
image: budibase/apps:{{ .Values.globals.appVersion | default .Chart.AppVersion }}
|
image: budibase/apps:{{ .Values.globals.appVersion | default .Chart.AppVersion }}
|
||||||
imagePullPolicy: Always
|
imagePullPolicy: Always
|
||||||
|
|
|
@ -200,6 +200,13 @@ spec:
|
||||||
- name: {{ .name }}
|
- name: {{ .name }}
|
||||||
value: {{ .value | quote }}
|
value: {{ .value | quote }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- range .Values.services.worker.extraEnvFromSecret}}
|
||||||
|
- name: {{ .name }}
|
||||||
|
valueFrom:
|
||||||
|
secretKeyRef:
|
||||||
|
name: {{ .secretName }}
|
||||||
|
key: {{ .secretKey | quote }}
|
||||||
|
{{- end}}
|
||||||
image: budibase/worker:{{ .Values.globals.appVersion | default .Chart.AppVersion }}
|
image: budibase/worker:{{ .Values.globals.appVersion | default .Chart.AppVersion }}
|
||||||
imagePullPolicy: Always
|
imagePullPolicy: Always
|
||||||
{{- if .Values.services.worker.startupProbe }}
|
{{- if .Values.services.worker.startupProbe }}
|
||||||
|
|
|
@ -249,6 +249,13 @@ services:
|
||||||
# -- Extra environment variables to set for apps pods. Takes a list of
|
# -- Extra environment variables to set for apps pods. Takes a list of
|
||||||
# name=value pairs.
|
# name=value pairs.
|
||||||
extraEnv: []
|
extraEnv: []
|
||||||
|
# -- Name of the K8s Secret in the same namespace which contains the extra environment variables.
|
||||||
|
# This can be used to avoid storing sensitive information in the values.yaml file.
|
||||||
|
extraEnvFromSecret: []
|
||||||
|
# - name: MY_SECRET_KEY
|
||||||
|
# secretName : my-secret
|
||||||
|
# secretKey: my-secret-key
|
||||||
|
|
||||||
# -- Startup probe configuration for apps pods. You shouldn't need to
|
# -- Startup probe configuration for apps pods. You shouldn't need to
|
||||||
# change this, but if you want to you can find more information here:
|
# change this, but if you want to you can find more information here:
|
||||||
# <https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/>
|
# <https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/>
|
||||||
|
@ -332,6 +339,13 @@ services:
|
||||||
# -- Extra environment variables to set for automation worker pods. Takes a list of
|
# -- Extra environment variables to set for automation worker pods. Takes a list of
|
||||||
# name=value pairs.
|
# name=value pairs.
|
||||||
extraEnv: []
|
extraEnv: []
|
||||||
|
# -- Name of the K8s Secret in the same namespace which contains the extra environment variables.
|
||||||
|
# This can be used to avoid storing sensitive information in the values.yaml file.
|
||||||
|
extraEnvFromSecret: []
|
||||||
|
# - name: MY_SECRET_KEY
|
||||||
|
# secretName : my-secret
|
||||||
|
# secretKey: my-secret-key
|
||||||
|
|
||||||
# -- Startup probe configuration for automation worker pods. You shouldn't
|
# -- Startup probe configuration for automation worker pods. You shouldn't
|
||||||
# need to change this, but if you want to you can find more information
|
# need to change this, but if you want to you can find more information
|
||||||
# here:
|
# here:
|
||||||
|
@ -417,6 +431,13 @@ services:
|
||||||
# -- Extra environment variables to set for worker pods. Takes a list of
|
# -- Extra environment variables to set for worker pods. Takes a list of
|
||||||
# name=value pairs.
|
# name=value pairs.
|
||||||
extraEnv: []
|
extraEnv: []
|
||||||
|
# -- Name of the K8s Secret in the same namespace which contains the extra environment variables.
|
||||||
|
# This can be used to avoid storing sensitive information in the values.yaml file.
|
||||||
|
extraEnvFromSecret: []
|
||||||
|
# - name: MY_SECRET_KEY
|
||||||
|
# secretName : my-secret
|
||||||
|
# secretKey: my-secret-key
|
||||||
|
|
||||||
# -- Startup probe configuration for worker pods. You shouldn't need to
|
# -- Startup probe configuration for worker pods. You shouldn't need to
|
||||||
# change this, but if you want to you can find more information here:
|
# change this, but if you want to you can find more information here:
|
||||||
# <https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/>
|
# <https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/>
|
||||||
|
|
|
@ -74,6 +74,7 @@ http {
|
||||||
add_header X-Content-Type-Options nosniff always;
|
add_header X-Content-Type-Options nosniff always;
|
||||||
add_header X-XSS-Protection "1; mode=block" always;
|
add_header X-XSS-Protection "1; mode=block" always;
|
||||||
add_header Content-Security-Policy "${csp_default}; ${csp_script}; ${csp_style}; ${csp_object}; ${csp_base_uri}; ${csp_connect}; ${csp_font}; ${csp_frame}; ${csp_img}; ${csp_manifest}; ${csp_media}; ${csp_worker};" always;
|
add_header Content-Security-Policy "${csp_default}; ${csp_script}; ${csp_style}; ${csp_object}; ${csp_base_uri}; ${csp_connect}; ${csp_font}; ${csp_frame}; ${csp_img}; ${csp_manifest}; ${csp_media}; ${csp_worker};" always;
|
||||||
|
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains; preload" always;
|
||||||
|
|
||||||
# upstreams
|
# upstreams
|
||||||
set $apps ${APPS_UPSTREAM_URL};
|
set $apps ${APPS_UPSTREAM_URL};
|
||||||
|
|
Loading…
Reference in New Issue