openstack-ansible-ops/mcapi_vexxhost/roles/sonobuoy/defaults/main.yml
Jonathan Rosser 51a254943f Add role to install and run sonobouy k8s validation tests
Change-Id: Ic5af3ec8f8553f54f95e945a91068873f02d1d1a
2024-02-12 21:38:31 +00: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: ""
# 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