Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,12 @@ spec:
resource: limits.cpu
- name: ROX_CALL_NODE_INVENTORY_ENABLED
value: {{ if eq ._rox.env.openshift 4 }}"true"{{ else }}"false"{{ end }}
- name: ROX_NODE_INDEX_ENABLED
value: {{ eq ._rox.env.openshift 4 | quote }}
{{- if eq ._rox.env.openshift 4 }}
- name: ROX_NODE_INDEX_HOST_PATH
value: "/hostindex"
{{- end }}
- name: ROX_METRICS_PORT
{{- if ._rox.collector.exposeMonitoring }}
value: ":9091"
Expand Down Expand Up @@ -176,6 +182,13 @@ spec:
- mountPath: /run/secrets/stackrox.io/certs/
name: certs
readOnly: true
{{- if eq ._rox.env.openshift 4 }}
- mountPath: /hostindex/usr/share
name: usr-share-ro
readOnly: true
- mountPath: /tmp
name: index-volume
{{- end }}
{{- if eq ._rox.env.openshift 4 }}
- name: node-inventory
image: {{ quote ._rox.image.scanner.fullRef }}
Expand Down Expand Up @@ -234,6 +247,13 @@ spec:
- hostPath:
path: /
name: host-root-ro
{{- if eq ._rox.env.openshift 4 }}
- hostPath:
path: /usr/share
name: usr-share-ro
- name: index-volume
emptyDir: {}
{{- end }}
- name: etc-ssl
emptyDir: {}
- name: etc-pki-volume
Expand All @@ -243,6 +263,7 @@ spec:
- name: cache-volume
emptyDir:
sizeLimit: 200Mi

[<- if .FeatureFlags.ROX_COLLECTOR_RUNTIME_CONFIG >]
{{- if ._rox.collector.containerd.enabled }}
- name: containerd-sock
Expand Down