A installation guide for Operator Lifecycle Manager, Sealed Secrets Operator (Helm), Sealed Secrets and kubeseal command line interface in OpenShift 4.x (OCP, OKD, CRC).
As usual you need to have access to an up and running OpenShift 4.x cluster.
This installation method installs the operator using an OLM Catalog.
oc apply -f guides/ocp4/olm/namespace.yaml
oc apply -f guides/ocp4/olm/catalog-source.yaml
oc apply -f guides/ocp4/olm/operator-group.yaml
oc apply -f guides/ocp4/olm/subscription.yaml
oc rollout status -w deployment/sealed-secrets-operator-helm -n sealed-secrets
You can install the operator from local sources without having to install an OLM Catalog. This can be helpful if your cluster runs in an isolated environment with no direct internet access.
Note
No channel subscription and automatic operator updates available with this method.
oc apply -f guides/ocp4/manual/namespace.yaml
oc apply -f guides/ocp4/manual/service-account.yaml
oc apply -f guides/ocp4/manual/role.yaml
oc apply -f guides/ocp4/manual/role-binding.yaml
oc apply -f guides/ocp4/manual/crd.yaml
oc apply -f guides/ocp4/manual/deployment.yaml
oc rollout status -w deployment/sealed-secrets-operator-helm -n sealed-secrets
Install Sealed Secrets Controller and kubeseal command line interface.
Note
This operator shares all configuration values from the Sealed Secrets Helm Chart.
oc apply -f examples/ocp.yaml -n sealed-secrets
oc get SealedSecretControllers sealed-secret-controller -n sealed-secrets
oc rollout status -w deployment/sealed-secret-controller-sealed-secrets -n sealed-secrets
Ants are very clean species too!
The uninstallation process will remove the Sealed Secrets installation (CR) but NOT the CRD's. You have to remove them manually:
oc delete SealedSecretController sealed-secret-controller -n sealed-secrets
oc delete crd sealedsecrets.bitnami.com
oc delete -f guides/ocp4/olm/subscription.yaml
oc delete csv sealed-secrets-operator-helm.v0.0.1 -n sealed-secrets
oc delete crd sealedsecretcontrollers.bitnami.com
oc delete -f guides/ocp4/olm/catalog-source.yaml
oc delete -f guides/ocp4/olm/operator-group.yaml
oc delete -f guides/ocp4/olm/namespace.yaml
oc delete -f guides/ocp4/manual/deployment.yaml
oc delete -f guides/ocp4/manual/crd.yaml
oc delete -f guides/ocp4/manual/role-binding.yaml
oc delete -f guides/ocp4/manual/role.yaml
oc delete -f guides/ocp4/manual/service-account.yaml
oc delete -f guides/ocp4/manual/namespace.yaml