Skip to content

Commit

Permalink
update kind and traefik for conductor
Browse files Browse the repository at this point in the history
  • Loading branch information
nhudson committed Sep 6, 2024
1 parent 6dcaffb commit f92bb90
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 14 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/conductor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
fail-fast: false
matrix:
kube_version:
- "1.25.8"
- "1.29.8"
steps:
- uses: actions/checkout@v4
- name: Install system dependencies
Expand Down
8 changes: 3 additions & 5 deletions conductor/justfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,15 @@ NAME := "conductor"
VERSION := `git rev-parse HEAD`
SEMVER_VERSION := `grep version Cargo.toml | awk -F"\"" '{print $2}' | head -n 1`
NAMESPACE := "default"
KUBE_VERSION := env_var_or_default('KUBE_VERSION', '1.25.8')
KUBE_VERSION := env_var_or_default('KUBE_VERSION', '1.29.8')
RUST_LOG := "info"

default:
@just --list --unsorted --color=always | rg -v " default"

install-traefik:
kubectl create namespace traefik || true
helm upgrade --install --namespace=traefik --version=20.8.0 --values=./testdata/traefik-values.yaml traefik traefik/traefik
# https://github.com/traefik/traefik-helm-chart/issues/757#issuecomment-1753995542
kubectl apply -f https://raw.githubusercontent.com/traefik/traefik/v3.0.0-beta2/docs/content/reference/dynamic-configuration/kubernetes-crd-definition-v1.yml
helm upgrade --install --namespace=traefik --version=29.0.1 --values=./testdata/traefik-values.yaml traefik traefik/traefik

install-operator:
just install-cert-manager
Expand Down Expand Up @@ -70,7 +68,7 @@ fmt:
cargo clippy --fix
cargo +nightly fmt

watch:
watch: run-operator
POSTGRES_QUEUE_CONNECTION=postgresql://postgres:postgres@0.0.0.0:5431/postgres \
RUST_BACKTRACE=1 \
RUST_LOG={{RUST_LOG}} \
Expand Down
34 changes: 26 additions & 8 deletions conductor/testdata/traefik-values.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
image:
tag: v3.0.0-beta2
tag: v3.0.3-tembo.1
registry: quay.io/tembo
repository: traefik
logs:
general:
level: DEBUG
Expand All @@ -15,22 +17,38 @@ additionalArguments:
- "--api.debug=true"
ports:
postgresql:
expose: true
expose:
default: true
port: 5432
exposedPort: 5432
nodePort: 32432
protocol: TCP
web:
expose: true
port: 8080
exposedPort: 8080
nodePort: 32430
# web:
# expose: true
# port: 8080
# exposedPort: 8080
# nodePort: 32430
# protocol: TCP
websecure:
expose:
default: true
port: 8443
exposedPort: 8443
nodePort: 32443
protocol: TCP
traefik:
expose: true
expose:
default: true
port: 9000
exposedPort: 9000
nodePort: 32431
protocol: TCP
deployment:
replicas: 1
resources:
requests:
cpu: "200m"
memory: "100Mi"
limits:
cpu: "400m"
memory: "300Mi"

0 comments on commit f92bb90

Please sign in to comment.