stardog-userrole-operator

command module
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2024 License: BSD-3-Clause Imports: 12 Imported by: 0

README

Stardog Userrole Operator

Build Go version Kubernetes version Stardog version Version GitHub downloads Docker image License

A Kubernetes operator to manage Stardog users and roles.

Generating the REST client

The package stardogrest is a REST client generated by autorest based on the stardogrest/stardog_swagger.yaml file. If the stardog REST API changes, the stardogrest/stardog_swagger.yaml should be updated to reflect the changes, and then autorest should be run again with the following command:

make autorest

Local Development

Prerequisites
  • minikube
  • helm
  • kubectl
  • Stardog image registry credentials
  • Stardog license

See the VSHN wiki (internal) for details on how to retrieve registry credentials and licenses for Stardog.

Init local dev environment
minikube start

# Create values.yaml (fill in actual image registry credentials)
cat <<EOF > values.yaml
image:
  username: "foo"
  password: "supersecret"

stardog:
  adminPassword: "admin"

replicaCount: 1

zookeeper:
  enabled: false
EOF

# Provide Stardog license key
kubectl create secret generic stardog-license --from-file stardog-license-key.bin=stardog-license-key.bin

# Install Stardog
helm repo add appuio https://charts.appuio.ch
helm install stardog appuio/stardog -f values.yaml

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
api
v1alpha1
Package v1alpha1 contains API Schema definitions for the stardog v1alpha1 API group +kubebuilder:object:generate=true +groupName=stardog.vshn.ch
Package v1alpha1 contains API Schema definitions for the stardog v1alpha1 API group +kubebuilder:object:generate=true +groupName=stardog.vshn.ch
v1beta1
Package v1beta1 contains API Schema definitions for the stardog v1beta1 API group +kubebuilder:object:generate=true +groupName=stardog.vshn.ch
Package v1beta1 contains API Schema definitions for the stardog v1beta1 API group +kubebuilder:object:generate=true +groupName=stardog.vshn.ch
pkg
stardogapi/mock
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
stardogrest
mocks
Package stardogmock is a generated GoMock package.
Package stardogmock is a generated GoMock package.

Jump to

Keyboard shortcuts

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