openstack-helm-addons/sonobuoy/values.yaml

101 lines
2.6 KiB
YAML

# Copyright 2017 The Openstack-Helm Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# Default values for Sonobuoy.
# This is a YAML-formatted file.
# Declare name/value pairs to be passed into your templates.
# name: value
labels:
api:
node_selector_key: openstack-control-plane
node_selector_value: enabled
images:
tags:
sonobuoy_api: gcr.io/heptio-images/sonobuoy:v0.11.4
systemd_logs: gcr.io/heptio-images/sonobuoy-plugin-systemd-logs:v0.1
pull_policy: IfNotPresent
local_registry:
active: false
exclude: []
conf:
sonobuoy:
Description: "sonobuoy run for scanner.heptio.com"
Version: v0.11.4
ResultsDir: /tmp/resultshost
Resources:
- Nodes
- ServerVersion
Filters:
Namespaces: ""
LabelSelector: ""
Server:
bindaddress: 0.0.0.0
bindport: 8080
advertiseaddress: ""
timeoutseconds: 8000
Plugins:
- name: systemd-logs
Limits:
PodLogs:
SizeLimitBytes: 10000
# NOTE: the WorkerImage should not be defined and is set in sonobuoy-etc
WorkerImage: null
ImagePullPolicy: IfNotPresent
plugins:
- name: systemd_logs.yaml
data: |
sonobuoy-config:
driver: DaemonSet
plugin-name: systemd-logs
result-type: systemd_logs
spec:
command:
- sh
- -c
- /get_systemd_logs.sh && sleep 3600
env:
- name: NODE_NAME
valueFrom:
fieldRef:
fieldPath: spec.nodeName
- name: RESULTS_DIR
value: /tmp/results
- name: CHROOT_DIR
value: /node
image: {{ .Values.images.tags.systemd_logs }}
imagePullPolicy: Always
name: sonobuoy-systemd-logs-config
securityContext:
privileged: true
volumeMounts:
- mountPath: /tmp/results
name: results
readOnly: false
- mountPath: /node
name: root
readOnly: false
dependencies:
dynamic: {}
static: {}
manifests:
configmap_bin: true
configmap_plugins: true
pod_api: true
secret_etc: true