backstage-operator

command module
v0.0.0-...-42be708 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 1, 2023 License: Apache-2.0 Imports: 17 Imported by: 0

README

Hybrid Helm/Golang operator for Backstage prototype

[!WARNING] This project is no longer actively maintained. The repository has been archived, and its contents are available for historical and reference purposes only.

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
Inside OpenShift cluster using OperatorHub
1. build and push all images
VERSION=0.0.1-dev1 IMG=quay.io/<username>/janus-operator:$VERSION IMAGE_TAG_BASE=quay.io/<username>/janus-operator make build-push-all
2. add CatalogSource to OperatorHub
./bin/kustomize build config/operator-hub/ | oc apply -f -
3. Install RHDH-dev from OperatorHub using OpenShift Web Console
Locally
export WATCH_NAMESPACE=baz
make run
in VSCode:
  1. Edit namespace in .vscode/launch.json
  2. CTRL+SHIFT+D, run Launch Backstage Operator

Known issues

  • After first sync/install (before any upgrade call or reconcile), we need to set .upstream.postgresql.auth.existingSecret

Extra features on top of the Helm chart

  • global.clusterRouterBase is automaticaly populated with the cluster's ingress domain.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
pkg

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL