From b7883c8f97c65db7fa3e6becb577dfa4364993bd Mon Sep 17 00:00:00 2001 From: Guilherme Cassolato Date: Wed, 30 Aug 2023 17:16:17 +0200 Subject: [PATCH] Script to install the operator + deps without having to clone the repo, nor depending on OLM --- utils/install.sh | 170 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 170 insertions(+) create mode 100755 utils/install.sh diff --git a/utils/install.sh b/utils/install.sh new file mode 100755 index 00000000..90fe9a67 --- /dev/null +++ b/utils/install.sh @@ -0,0 +1,170 @@ +#!/bin/bash +# +# Copyright 2022 Red Hat, Inc. +# +# 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. +# +# ======================================================================== +# +# Use this script to install the Authorino Operator and dependencies +# to the current kubectl context, without having to clone the repo +# or depending on Operator Lifecycle Manager (OLM). +# +# E.g.: +# curl -sL https://raw.githubusercontent.com/Kuadrant/authorino-operator/main/utils/install.sh | bash -s -- [options] +# + +VERSION='latest' +CERT_MANAGER_VERSION="1.12.1" +NO_DEPS='' +DRY_RUN='' + +print_usage() { + cat <