Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/aerogear/ups-config-operator
https://github.com/aerogear/ups-config-operator
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/aerogear/ups-config-operator
- Owner: aerogear
- License: apache-2.0
- Created: 2018-03-13T16:53:12.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-06-24T15:38:36.000Z (over 5 years ago)
- Last Synced: 2024-05-22T14:32:18.874Z (6 months ago)
- Language: Go
- Size: 14.4 MB
- Stars: 2
- Watchers: 13
- Forks: 6
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: .github/CONTRIBUTING.md
- License: LICENSE
- Code of conduct: .github/CODE_OF_CONDUCT
Awesome Lists containing this project
README
# Operator to sync UPS Variants with Mobile Clients
[![Go Report Card](https://goreportcard.com/badge/github.com/aerogear/ups-config-operator)](https://goreportcard.com/report/github.com/aerogear/ups-config-operator)
[![CircleCI](https://circleci.com/gh/aerogear/ups-config-operator.svg?style=svg)](https://circleci.com/gh/aerogear/ups-config-operator)This is an Operator that keeps variants in the [Unifiedpush Server](https://github.com/aerogear/aerogear-unifiedpush-server) in sync with your mobile project on Openshift.
It allows you to use [bindings](https://github.com/openservicebrokerapi/servicebroker/blob/master/spec.md#binding) to create variants for your mobile clients, monitors those variants and keeps them in sync should they be deleted on either UPS or Openshift.
When creating new variants this Operator will also annotate your mobile clients with all the information required for the mobile UI.## Permissions
Currently this needs to use a service account with admin permissions. Use:
```sh
$ kubectl create clusterrolebinding -admin-binding --clusterrole=admin --serviceaccount=:default
```# Development:
* Install Mockery on your machine:
* Run `make setup`
* Run tests: `make test`## Usage
Make sure that you are logged in with `oc` and use the right namespace.
```
$ make build_linux
$ docker build -t docker.io/aerogear/ups-config-operator:latest -f Dockerfile .
$ oc create -f template.json
```