config-connector-templater

command module
v0.0.0-...-b98a00b Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2021 License: Apache-2.0 Imports: 12 Imported by: 0

README

config-connector-templater

Kubernetes operator that templates GCP Config Connector resources

Example

Creating a resource like this:

apiVersion: config-connector-templater.slamdev.net/v1alpha1
kind: PubSubTopicTemplate
metadata:
  name: notifications
  namespace: team1
  annotations:
    service-name: super-service
spec:
  resourceID: "{{ .metadata.namespace }}.{{ index .metadata.annotations "service-name" }}.{{ .metadata.name }}"

operator will create the following resource:

apiVersion: pubsub.cnrm.cloud.google.com/v1beta1
kind: PubSubTopic
metadata:
  name: notifications
spec:
  resourceID: team1.super-service.notifications

Make a release

TAG=x.x.x && git tag -a ${TAG} -m "make ${TAG} release" && git push --tags

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
api
v1alpha1
Package v1alpha1 contains API Schema definitions for the config-connector-templater v1alpha1 API group +kubebuilder:object:generate=true +groupName=config-connector-templater.slamdev.net
Package v1alpha1 contains API Schema definitions for the config-connector-templater v1alpha1 API group +kubebuilder:object:generate=true +groupName=config-connector-templater.slamdev.net

Jump to

Keyboard shortcuts

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