feat: updates to timesketch
This commit is contained in:
parent
c9ef66cd09
commit
ea506d510b
3 changed files with 8 additions and 8 deletions
|
@ -73,7 +73,7 @@ github_accounts:
|
||||||
query_string: 'source_short:"WEBHIST" AND url:"https://github.com/users" AND title:"Your Profile"'
|
query_string: 'source_short:"WEBHIST" AND url:"https://github.com/users" AND title:"Your Profile"'
|
||||||
attribute: 'url'
|
attribute: 'url'
|
||||||
store_as: 'found_account'
|
store_as: 'found_account'
|
||||||
re: 'https://github.com/users/([A-z-\d]{1,39})'
|
re: 'https://github.com/users/([A-z\-\d]{1,39})'
|
||||||
re_flags: []
|
re_flags: []
|
||||||
tags: ['github-account']
|
tags: ['github-account']
|
||||||
emojis: ['ID_BUTTON']
|
emojis: ['ID_BUTTON']
|
||||||
|
@ -83,7 +83,7 @@ linkedin_accounts:
|
||||||
query_string: 'source_short:"WEBHIST" AND url:"https://www.linkedin.com/in/" AND url:"/edit/"'
|
query_string: 'source_short:"WEBHIST" AND url:"https://www.linkedin.com/in/" AND url:"/edit/"'
|
||||||
attribute: 'url'
|
attribute: 'url'
|
||||||
store_as: 'found_account'
|
store_as: 'found_account'
|
||||||
re: 'https://www.linkedin.com/in/([A-z-\d]{5,32})/edit/'
|
re: 'https://www.linkedin.com/in/([a-z\-\d]{5,32})/edit/'
|
||||||
tags: ['linkedin-account']
|
tags: ['linkedin-account']
|
||||||
emojis: ['ID_BUTTON']
|
emojis: ['ID_BUTTON']
|
||||||
|
|
||||||
|
|
|
@ -32,7 +32,7 @@ spec:
|
||||||
{{- toYaml .Values.frontend.securityContext | nindent 12 }}
|
{{- toYaml .Values.frontend.securityContext | nindent 12 }}
|
||||||
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
|
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
|
||||||
imagePullPolicy: {{ .Values.image.pullPolicy }}
|
imagePullPolicy: {{ .Values.image.pullPolicy }}
|
||||||
command: ["sh", "-c", "update-ca-certificates && cp /var/timesketch.conf /etc/ && gunicorn --bind 0.0.0.0:8080 --log-file - \
|
command: ["sh", "-c", "update-ca-certificates && cp /etc/timesketch/timesketch.conf /etc/ && gunicorn --bind 0.0.0.0:8080 --log-file - \
|
||||||
--error-logfile - --log-level info \
|
--error-logfile - --log-level info \
|
||||||
--capture-output --timeout 600 --limit-request-line 8190 \
|
--capture-output --timeout 600 --limit-request-line 8190 \
|
||||||
--workers 4 timesketch.wsgi:application"]
|
--workers 4 timesketch.wsgi:application"]
|
||||||
|
@ -66,11 +66,11 @@ spec:
|
||||||
{{ $recreatedPath := (regexReplaceAll "__" $path "/") | trimPrefix "config/" }}
|
{{ $recreatedPath := (regexReplaceAll "__" $path "/") | trimPrefix "config/" }}
|
||||||
{{ $key := (regexReplaceAll "/" $path "__") }}
|
{{ $key := (regexReplaceAll "/" $path "__") }}
|
||||||
- name: timesketch-default-config
|
- name: timesketch-default-config
|
||||||
mountPath: /config/{{ $recreatedPath }}
|
mountPath: /etc/timesketch/{{ $recreatedPath }}
|
||||||
subPath: {{ $key }}
|
subPath: {{ $key }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
- name: timesketch-conf
|
- name: timesketch-conf
|
||||||
mountPath: /var/timesketch.conf
|
mountPath: /etc/timesketch/timesketch.conf
|
||||||
subPath: timesketch.conf
|
subPath: timesketch.conf
|
||||||
readOnly: false
|
readOnly: false
|
||||||
- name: ca-cert
|
- name: ca-cert
|
||||||
|
|
|
@ -32,7 +32,7 @@ spec:
|
||||||
{{- toYaml .Values.worker.securityContext | nindent 12 }}
|
{{- toYaml .Values.worker.securityContext | nindent 12 }}
|
||||||
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
|
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
|
||||||
imagePullPolicy: {{ .Values.image.pullPolicy }}
|
imagePullPolicy: {{ .Values.image.pullPolicy }}
|
||||||
command: ["sh", "-c", "update-ca-certificates && cp /var/timesketch.conf /etc/ && celery -A timesketch.lib.tasks worker \
|
command: ["sh", "-c", "update-ca-certificates && celery -A timesketch.lib.tasks worker \
|
||||||
--loglevel=DEBUG"]
|
--loglevel=DEBUG"]
|
||||||
env:
|
env:
|
||||||
- name: POD_NAME
|
- name: POD_NAME
|
||||||
|
@ -62,11 +62,11 @@ spec:
|
||||||
{{ $recreatedPath := (regexReplaceAll "__" $path "/") | trimPrefix "config/" }}
|
{{ $recreatedPath := (regexReplaceAll "__" $path "/") | trimPrefix "config/" }}
|
||||||
{{ $key := (regexReplaceAll "/" $path "__") }}
|
{{ $key := (regexReplaceAll "/" $path "__") }}
|
||||||
- name: timesketch-default-config
|
- name: timesketch-default-config
|
||||||
mountPath: /config/{{ $recreatedPath }}
|
mountPath: /etc/timesketch/{{ $recreatedPath }}
|
||||||
subPath: {{ $key }}
|
subPath: {{ $key }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
- name: timesketch-conf
|
- name: timesketch-conf
|
||||||
mountPath: /var/timesketch.conf
|
mountPath: /etc/timesketch/timesketch.conf
|
||||||
subPath: timesketch.conf
|
subPath: timesketch.conf
|
||||||
readOnly: true
|
readOnly: true
|
||||||
- name: ca-cert
|
- name: ca-cert
|
||||||
|
|
Loading…
Reference in a new issue