tiagodolphine / backstage-operator

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Hybrid Helm/Golang operator for Backstage prototype

Reconciler logic: https://github.com/operator-framework/helm-operator-plugins/blob/main/pkg/reconciler/reconciler.go Hybrid operators lacks documentation, see:

Setup

make init
make install

Run

Containerized:

export IMG=quay.io/<foo>/<bar>:latest
make podman-build
make podman-push
make deploy

Or locally:

export WATCH_NAMESPACE=baz
make run

Or in VSCode:

  1. Edit namespace in .vscode/launch.json
  2. CTRL+SHIFT+D, run Launch Backstage Operator

Known issues

  • Before first sync we need to pull oc get ingresses.config/cluster -o jsonpath={.spec.domain} data and set as .global.clusterRouterBase
  • After first sync/install (before any upgrade call or reconcile), we need to set .upstream.postgresql.auth.existingSecret

About

License:Apache License 2.0


Languages

Language:Makefile 58.3%Language:Go 31.5%Language:Dockerfile 10.1%