Jonathan Rosser 14bbd0a81e Pass kubeconfig path directly to sonobuoy role
This makes it possible to use the sonobuoy role to test the control
plane cluster as well as workload clusters.

Change-Id: Ia82ebe150774fbd694e74531c3392518887698fd
2024-07-05 19:33:51 +01:00

32 lines
1.2 KiB
YAML

# Copyright (c) 2024 BBC R&D.
#
# 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.
sonobuoy_version: 0.57.1
sonobuoy_download_file: "sonobuoy_{{ sonobuoy_version }}_linux_amd64.tar.gz"
sonobuoy_download_url: "https://github.com/vmware-tanzu/sonobuoy/releases/download/v{{ sonobuoy_version }}/{{ sonobuoy_download_file }}"
sonobuoy_unarchive_dest: /usr/local/bin
# set the name or uuid of the openstack coe cluster to test
sonobuoy_coe_cluster: "test"
# the location of the kubeconfig file
sonobuoy_kubeconfig_file: "{{ '/root/' ~ 'kubeconfig-' ~ sonobuoy_coe_cluster ~ '/config' }}"
# set the options for the test
sonobuoy_run_options: "--mode quick --wait"
# execute tests after downloading sonobuoy
sonobuoy_run: true
sonobuoy_delete: true