Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/slamdev/config-connector-templater
Kubernetes operator that templates GCP Config Connector resources
https://github.com/slamdev/config-connector-templater
gke kubernetes operator
Last synced: about 2 months ago
JSON representation
Kubernetes operator that templates GCP Config Connector resources
- Host: GitHub
- URL: https://github.com/slamdev/config-connector-templater
- Owner: slamdev
- License: apache-2.0
- Created: 2021-06-02T14:41:59.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-12-15T02:14:34.000Z (about 1 year ago)
- Last Synced: 2024-11-15T00:14:50.664Z (2 months ago)
- Topics: gke, kubernetes, operator
- Language: Go
- Homepage:
- Size: 93.8 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# config-connector-templater
Kubernetes operator that templates GCP Config Connector resources
## Example
Creating a resource like this:
```yaml
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:
```yaml
apiVersion: pubsub.cnrm.cloud.google.com/v1beta1
kind: PubSubTopic
metadata:
name: notifications
spec:
resourceID: team1.super-service.notifications
```## Make a release
```shell script
TAG=x.x.x && git tag -a ${TAG} -m "make ${TAG} release" && git push --tags
```