Skip to content

Commit 8a9448d

Browse files
authored
[Helm] add audit logging (#1082)
1 parent a4bf963 commit 8a9448d

File tree

5 files changed

+35
-0
lines changed

5 files changed

+35
-0
lines changed

helm/Chart.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ description: Helm chart for Parseable Server
44
type: application
55
version: 1.7.0
66
appVersion: "v1.7.0"
7+
icon: "https://raw.githubusercontent.com/parseablehq/.github/main/images/logo.svg"
78
maintainers:
89
- name: Parseable Team
910

helm/templates/ingestor-statefulset.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,15 @@ spec:
7373
fieldPath: metadata.name
7474
{{- end }}
7575

76+
{{- if .Values.parseable.auditLogging.enabled }}
77+
- name: P_AUDIT_LOGGER
78+
value: {{ .Values.parseable.auditLogging.p_server | quote }}
79+
- name: P_AUDIT_USERNAME
80+
value: {{ .Values.parseable.auditLogging.p_username | quote }}
81+
- name: P_AUDIT_PASSWORD
82+
value: {{ .Values.parseable.auditLogging.p_password | quote }}
83+
{{- end }}
84+
7685
{{- if and .Values.parseable.s3ModeSecret .Values.parseable.s3ModeSecret.enabled }}
7786
{{- range $secret := .Values.parseable.s3ModeSecret.secrets }}
7887
{{- range $key := $secret.keys }}

helm/templates/querier-statefulset.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,15 @@ spec:
6161
value: {{ tpl $value $ | quote }}
6262
{{- end }}
6363

64+
{{- if .Values.parseable.auditLogging.enabled }}
65+
- name: P_AUDIT_LOGGER
66+
value: {{ .Values.parseable.auditLogging.p_server | quote }}
67+
- name: P_AUDIT_USERNAME
68+
value: {{ .Values.parseable.auditLogging.p_username | quote }}
69+
- name: P_AUDIT_PASSWORD
70+
value: {{ .Values.parseable.auditLogging.p_password | quote }}
71+
{{- end }}
72+
6473
{{- if and .Values.parseable.s3ModeSecret .Values.parseable.s3ModeSecret.enabled }}
6574
{{- range $secret := .Values.parseable.s3ModeSecret.secrets }}
6675
{{- range $key := $secret.keys }}

helm/templates/standalone-deployment.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,15 @@ spec:
6161
{{- end }}
6262
{{- end }}
6363

64+
{{- if .Values.parseable.auditLogging.enabled }}
65+
- name: P_AUDIT_LOGGER
66+
value: {{ .Values.parseable.auditLogging.p_server | quote }}
67+
- name: P_AUDIT_USERNAME
68+
value: {{ .Values.parseable.auditLogging.p_username | quote }}
69+
- name: P_AUDIT_PASSWORD
70+
value: {{ .Values.parseable.auditLogging.p_password | quote }}
71+
{{- end }}
72+
6473
{{- if and .Values.parseable.s3ModeSecret .Values.parseable.s3ModeSecret.enabled }}
6574
{{- range $secret := .Values.parseable.s3ModeSecret.secrets }}
6675
{{- range $key := $secret.keys }}

helm/values.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,13 @@ parseable:
3434
requests:
3535
cpu: 250m
3636
memory: 1Gi
37+
## Enable audit logging on parseable nodes
38+
auditLogging:
39+
enabled: false
40+
p_server: "http://parseable-ingestor-service.parseable.svc.cluster.local"
41+
p_username: "admin"
42+
p_password: "admin"
43+
3744
## Add environment variables to the Parseable Deployment
3845
env:
3946
RUST_LOG: warn

0 commit comments

Comments
 (0)