-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathartifactory-values.yaml
More file actions
80 lines (80 loc) · 3.68 KB
/
artifactory-values.yaml
File metadata and controls
80 lines (80 loc) · 3.68 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
installerInfo: '{ "productId": "OnPremObservability-Splunk/1.0.1", "features": [ { "featureId": "ArtifactoryVersion/{{ default .Chart.AppVersion .Values.artifactory.image.version }}" }, { "featureId": "{{ if .Values.postgresql.enabled }}postgresql{{ else }}{{ .Values.database.type }}{{ end }}/0.0.0" }, { "featureId": "Platform/{{ default "kubernetes" .Values.installer.platform }}" }, { "featureId": "Channel/OnPremObservability-Splunk-Helm" } ] }'
artifactory:
# For Artifactory versions <= 7.86.x please use artifactory.openMetrics.enabled instead of artifactory.metrics.enabled
metrics:
enabled: true
customInitContainersBegin: |
- name: "prepare-fluentd-conf-on-persistent-volume"
image: {{ include "artifactory.getImageInfoByValue" (list . "initContainers") }}
imagePullPolicy: "{{ .Values.artifactory.image.pullPolicy }}"
command:
- 'sh'
- '-c'
- >
mkdir -p {{ .Values.artifactory.persistence.mountPath }}/etc/fluentd/;
curl https://raw.githubusercontent.com/jfrog/log-analytics-splunk/master/fluent.conf.rt -o {{ .Values.artifactory.persistence.mountPath }}/etc/fluentd/fluentd.conf;
volumeMounts:
- mountPath: "{{ .Values.artifactory.persistence.mountPath }}"
name: artifactory-volume
customSidecarContainers: |
- name: "artifactory-fluentd-sidecar"
image: "releases-pts-observability-fluentd.jfrog.io/fluentd:4.15"
imagePullPolicy: "IfNotPresent"
volumeMounts:
- mountPath: "{{ .Values.artifactory.persistence.mountPath }}"
name: artifactory-volume
env:
- name: JF_PRODUCT_DATA_INTERNAL
value: {{ .Values.artifactory.persistence.mountPath }}
- name: JPD_URL
value: {{ .Values.jfrog.observability.jpd_url }}
- name: JPD_ADMIN_USERNAME
value: {{ .Values.jfrog.observability.username }}
- name: JFROG_ADMIN_TOKEN
valueFrom:
secretKeyRef:
name: jfrog-admin-token
key: token
- name: COMMON_JPD
value: {{ .Values.jfrog.observability.common_jpd | quote }}
- name: SPLUNK_COM_PROTOCOL
value: {{ .Values.splunk.com_protocol }}
- name: SPLUNK_HEC_HOST
value: {{ .Values.splunk.host }}
- name: SPLUNK_HEC_PORT
value: {{ .Values.splunk.port | quote}}
- name: SPLUNK_METRICS_HEC_TOKEN
value: {{ .Values.splunk.metrics_token }}
- name: SPLUNK_HEC_TOKEN
value: {{ .Values.splunk.logs_token }}
- name: SPLUNK_LOGS_INDEX
value: {{ .Values.splunk.logs_index | default "jfrog_splunk" }}
- name: SPLUNK_METRICS_INDEX
value: {{ .Values.splunk.metrics_index | default "jfrog_splunk_metrics" }}
- name: SPLUNK_INSECURE_SSL
value: {{ .Values.splunk.insecure_ssl | quote}}
- name: SPLUNK_VERIFY_SSL
value: {{ .Values.splunk.verify_ssl | quote}}
- name: SPLUNK_COMPRESS_DATA
value: {{ .Values.splunk.compress_data | quote }}
- name: LOG_ENV
value: {{ .Values.jfrog.observability.log_env | default "production" }}
- name: FLUENTD_CONF
value: ../../../..{{ .Values.artifactory.persistence.mountPath }}/etc/fluentd/fluentd.conf
splunk:
host: SPLUNK_HEC_HOST
port: SPLUNK_HEC_PORT
logs_token: SPLUNK_HEC_TOKEN
metrics_token: SPLUNK_METRICS_HEC_TOKEN
logs_index: SPLUNK_LOGS_INDEX
metrics_index: SPLUNK_METRICS_INDEX
com_protocol: SPLUNK_COM_PROTOCOL
insecure_ssl: SPLUNK_INSECURE_SSL
verify_ssl: SPLUNK_VERIFY_SSL
compress_data: SPLUNK_COMPRESS_DATA
jfrog:
observability:
jpd_url: JPD_URL
username: JPD_ADMIN_USERNAME
common_jpd: COMMON_JPD
log_env: LOG_ENV