Reorder Sonobuoy's values.yaml to follow spec

The values.yaml functionality is the same, just reordered according
to the values ordering spec[1].

[1] https://docs.openstack.org/openstack-helm/latest/specs/values-ordering.html

Change-Id: If31867e7b75b126880f61a57ac11a437c3519663
This commit is contained in:
Dustin Specker 2018-10-16 08:15:20 -05:00
parent 2b8581dcc2
commit 5a610a290d
1 changed files with 24 additions and 29 deletions

View File

@ -12,24 +12,29 @@
# See the License for the specific language governing permissions and # See the License for the specific language governing permissions and
# limitations under the License. # limitations under the License.
# Default values for Sonobuoy. images:
# This is a YAML-formatted file. tags:
# Declare name/value pairs to be passed into your templates. sonobuoy_api: gcr.io/heptio-images/sonobuoy:v0.11.4
# name: value systemd_logs: gcr.io/heptio-images/sonobuoy-plugin-systemd-logs:v0.1
pull_policy: "IfNotPresent"
local_registry:
active: false
exclude: []
labels: labels:
api: api:
node_selector_key: openstack-control-plane node_selector_key: openstack-control-plane
node_selector_value: enabled node_selector_value: enabled
images: dependencies:
tags: dynamic: {}
sonobuoy_api: gcr.io/heptio-images/sonobuoy:v0.11.4 static: {}
systemd_logs: gcr.io/heptio-images/sonobuoy-plugin-systemd-logs:v0.1
pull_policy: IfNotPresent manifests:
local_registry: configmap_bin: true
active: false configmap_plugins: true
exclude: [] pod_api: true
secret_etc: true
conf: conf:
sonobuoy: sonobuoy:
@ -63,22 +68,22 @@ conf:
plugin-name: systemd-logs plugin-name: systemd-logs
result-type: systemd_logs result-type: systemd_logs
spec: spec:
command: name: sonobuoy-systemd-logs-config
- sh
- -c
- /get_systemd_logs.sh && sleep 3600
env: env:
- name: CHROOT_DIR
value: /node
- name: NODE_NAME - name: NODE_NAME
valueFrom: valueFrom:
fieldRef: fieldRef:
fieldPath: spec.nodeName fieldPath: spec.nodeName
- name: RESULTS_DIR - name: RESULTS_DIR
value: /tmp/results value: /tmp/results
- name: CHROOT_DIR
value: /node
image: {{ .Values.images.tags.systemd_logs }} image: {{ .Values.images.tags.systemd_logs }}
imagePullPolicy: Always imagePullPolicy: Always
name: sonobuoy-systemd-logs-config command:
- sh
- -c
- /get_systemd_logs.sh && sleep 3600
securityContext: securityContext:
privileged: true privileged: true
volumeMounts: volumeMounts:
@ -88,13 +93,3 @@ conf:
- mountPath: /node - mountPath: /node
name: root name: root
readOnly: false readOnly: false
dependencies:
dynamic: {}
static: {}
manifests:
configmap_bin: true
configmap_plugins: true
pod_api: true
secret_etc: true