https://github.com/thedatabaseme/nextcloud-operator
The Nextcloud Operator is a Kubernetes controller created with the Operator SDK Framework. It relies on Ansible roles and make deployment of Nextcloud instances on a Kubernetes cluster easy.
https://github.com/thedatabaseme/nextcloud-operator
Last synced: 3 months ago
JSON representation
The Nextcloud Operator is a Kubernetes controller created with the Operator SDK Framework. It relies on Ansible roles and make deployment of Nextcloud instances on a Kubernetes cluster easy.
- Host: GitHub
- URL: https://github.com/thedatabaseme/nextcloud-operator
- Owner: thedatabaseme
- Created: 2022-12-14T19:33:42.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2023-05-06T10:11:47.000Z (about 2 years ago)
- Last Synced: 2025-02-04T16:49:40.378Z (5 months ago)
- Language: Makefile
- Homepage:
- Size: 45.9 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Nextcloud Operator
------------
The Nextcloud Operator is a Kubernetes controller created with the Operator SDK Framework.
It relies on Ansible roles and make deployment of Nextcloud instances on a Kubernetes
cluster easy.Features:
- Create / manage / delete Nextcloud instances
- Control the service type of the Nextcloud instance which the Operator creates
- Control ingress and ingress annotations
- Volume size and storage class is configureable# Deploy / Install
------------
To deploy the Nextcloud Operator to your Cluster, you can use the following kustomization
overlay. Exchange the `v0.1.0` tag with the latest release tag in this repository.```yaml
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomizationresources:
# Find the latest tag here: https://github.com/thedatabaseme/nextcloud-operator/releases
- https://github.com/thedatabaseme/nextcloud-operator/config/default?ref=v0.1.0# Set the image tags to match the git version from above
images:
- name: ghcr.io/thedatabaseme/nextcloud-operator
newTag: v0.1.0# Specify a custom namespace in which to install Nextcloud Operator
namespace: nextcloud-operator
```# Create a Nextcloud instance
------------
To create a Nextcloud instance using the Nextcloud Operator, you need to apply a `Nextcloud`
CRD to your Kubernetes cluster, where the Operator is deployed. Below, you find an example CRD.```yaml
apiVersion: thedatabase.me/v1alpha1
kind: Nextcloud
metadata:
name: nextcloud-sample
namespace: nextcloud-sample
spec:
nextcloudImageVersion: 25.0.2
volume:
volumeSize: 5Gi
service:
type: ClusterIP
```A complete example can be found [here](config/samples/complete_nextcloud_sample.yaml).