This operator is still heavily in progress.
This operator can be deployed either with or without OLM installed.
operator-sdk run bundle quay.io/redhat-et-ipfs/ipfs-operator-bundle:v0.0.1 -n ipfs-operator-system
make deploy
The value for URL must be changed to match your Kubernetes environment. The public bool defines if a load balancer should be created. This load balancer allows for ipfs gets to be done from systems outside of the Kubernetes environment.
apiVersion: cluster.ipfs.io/v1alpha1
kind: Ipfs
metadata:
name: ipfs-sample-1
spec:
ipfsStorage: 2Gi
clusterStorage: 2Gi
Once the values match your environment run the following.
kubectl create -n default -f ifps.yaml