OLM PATTERN
Prereq:
- Login to quay.io
- Export USER and IMG
e.g.
Prereq:
e.g.
## OLM PATTERN | |
Prereq: | |
* Login to quay.io | |
* Export USER and IMG | |
e.g. | |
> env | grep USE |
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
# All Vagrant configuration is done below. The "2" in Vagrant.configure | |
# configures the configuration version (we support older styles for | |
# backwards compatibility). Please don't change it unless you know what | |
# you're doing. | |
$tripleo_standalone = <<-'SCRIPT' | |
export IP=192.168.24.2 | |
export VIP=192.168.24.3 |
wget https://mirror.openshift.com/pub/openshift-v4/clients/crc/latest/crc-linux-amd64.tar.xz
wget https://mirror.openshift.com/pub/openshift-v4/clients/ocp/latest/openshift-client-linux.tar.gz
sudo tar -xJvf crc-linux-amd64.tar.xz
sudo mv crc-linux-1.22.0-amd64/crc /usr/local/bin/
sudo tar zxf openshift-client-linux.tar.gz -C /usr/local/bin/
minikube start --force --memory="4096" --cpus="2" -b kubeadm --kubernetes-version="v1.19.2" --driver="kvm2" --feature-gates="BlockVolume=true,CSIBlockVolume=true,VolumeSnapshotDataSource=true,ExpandCSIVolumes=true"
minikube ssh "sudo mkdir -p /mnt/vda1/var/lib/rook;sudo ln -s /mnt/vda1/var/lib/rook /var/lib/rook"
[network] | |
default_network = 10.0.0.0/22 | |
public_router_id = | |
public_network_id = | |
project_networks_reachable = false | |
project_network_cidr = 10.0.0.0/22 | |
[DEFAULT] | |
debug = True | |
log_file = tempest.log |
[[local|localrc]] | |
ADMIN_PASSWORD=secret | |
DATABASE_PASSWORD=secret | |
RABBIT_PASSWORD=secret | |
SERVICE_PASSWORD=secret | |
########## | |
# MANILA # | |
########## |
diff --git a/assets/controller.yaml b/assets/controller.yaml | |
index 4177f05..2733cb1 100644 | |
--- a/assets/controller.yaml | |
+++ b/assets/controller.yaml | |
@@ -2,7 +2,7 @@ kind: Deployment | |
apiVersion: apps/v1 | |
metadata: | |
name: openstack-manila-csi-controllerplugin | |
- namespace: openshift-manila-csi-driver | |
+ namespace: manila-csi-driver |
#!/bin/bash | |
set -x | |
fsid="$1" | |
cephadm rm-cluster --fsid $fsid --force | |
source /etc/os-release | |
sudo systemctl stop tripleo_\* | |
sudo systemctl stop ceph\* | |
sudo pcs cluster destroy | |
if [ $VERSION_ID == "7" ]; then | |
sudo docker ps -a -q | xargs docker rm -f |