Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/test-k8s.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ on:
paths:
- k8s/**
- Tiltfile
branches: [master]
branches: [main]
push:
paths:
- k8s/**
- Tiltfile
branches: [master]
branches: [main]

jobs:
cdk8s-tests:
Expand Down
5 changes: 1 addition & 4 deletions Tiltfile
Original file line number Diff line number Diff line change
@@ -1,14 +1,11 @@
local("make dist", dir="k8s")

# Create namespace if it doesn't exist
local(
"kubectl get namespace integration --no-headers || kubectl create namespace integration"
)
local("kubectl get namespace integration --no-headers || kubectl create namespace integration")
k8s_yaml(listdir(os.path.join("k8s", "dist")))

k8s_resource(
objects=[
"licensing:namespace",
"licensing:serviceaccount:licensing",
"licensing:role:licensing",
"licensing:rolebinding:licensing",
Expand Down
Loading