-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitpod.yml
42 lines (38 loc) · 1.43 KB
/
.gitpod.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
image:
file: .gitpod.Dockerfile
tasks:
- name: Install Operator SDK
init: |
sudo apt-get update
sudo apt-get install -y curl git bash
export OPERATOR_SDK_VERSION=v1.15.0
curl -LO "https://github.com/operator-framework/operator-sdk/releases/download/${OPERATOR_SDK_VERSION}/operator-sdk_linux_amd64"
chmod +x operator-sdk_linux_amd64
sudo mv operator-sdk_linux_amd64 /usr/local/bin/operator-sdk
operator-sdk version
- before: |
# Install kubectl
curl -LO "https://storage.googleapis.com/kubernetes-release/release/$(curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt)/bin/linux/amd64/kubectl"
chmod +x ./kubectl
sudo mv ./kubectl /usr/local/bin/kubectl
# Install Minikube
curl -Lo minikube https://storage.googleapis.com/minikube/releases/latest/minikube-linux-amd64
chmod +x minikube
sudo mv minikube /usr/local/bin/
# Install conntrack
sudo apt-get update -y
sudo apt-get install -y conntrack
# Start Minikube
minikube start --driver=docker
# Set up kubectl to use Minikube's context
minikube kubectl -- get po -A
- name: Deploy OPAL Controller
command: kubectl apply -f opal-controller-deployment.yaml
# Specify the ports to expose
ports:
- port: 3000
onOpen: open-preview
# Specify the services to run in the background
vscode:
extensions:
- ms-azuretools.vscode-docker