CommunishiftAuthorization Operator
- Makefile 52.8%
- Python 37.2%
- Dockerfile 10%
|
|
||
|---|---|---|
| CommunishiftAuthorization | ||
| .flake8 | ||
| .pre-commit-config.yaml | ||
| .zuul.yaml | ||
| LICENSE | ||
| pyproject.toml | ||
| README.md | ||
Communishift Authorization Operator
Ansible Operator SDK that syncs FASJSON group membership into OpenShift user.openshift.io/v1 Group objects (names {groupname}-admins). Reconcile runs on CR changes and every 20m; see CommunishiftAuthorization/watches.yaml.
Operator sources, Makefile, and Molecule live under CommunishiftAuthorization/. Configure via Ansible defaults in roles/communishiftauthorization/defaults/main.yml; the cluster needs a Kerberos keytab at {{ communishift_keytab_path }}/communishift-authorization-keytab and a Secret (see defaults for namespace/name) with communishift-ocp-api-token and communishift-ocp-api-host.
cd CommunishiftAuthorization
ansible-galaxy collection install -r requirements.yml
make install && make deploy && make run # logged in via oc/kubectl
Tests: molecule test (needs KUBECONFIG and cluster; see molecule/default/).
Licensed under MIT.