susql-operator

SusQL Operator Installation via OperatorHub.io

Installation of the SusQL Operator via OperatorHub.io is fairly easy.

Prerequisites

Installation

Create a file called catalogsource.yaml as follows:

apiVersion: operators.coreos.com/v1alpha1
kind: CatalogSource
metadata:
  name: operatorhubio-catalog
  namespace: openshift-marketplace
spec:
  sourceType: grpc
  image: quay.io/operatorhubio/catalog:latest
  displayName: Community Operators
  publisher: OperatorHub.io
  updateStrategy:
    registryPoll:
      interval: 10m

Apply this file with these commands:

oc apply -f catalogsource.yaml
oc patch -n openshift-marketplace OperatorHub cluster --type merge -p '{"spec":{"sources":[{"name":"operatorhubio-catalog","disabled":false},{"name":"community-operators","disabled":false}]}}'

Next, use the OpenShift web console to install the SusQL Operator:

Customization

Before deploying the SusQL Operator create a ConfigMap called susql-config in the same namespace that the operator will run in. susql-config.yaml is a good starting point. If you download it first, you could create the ConfigMap with oc apply -n <NAMESPACE> -f susql-config.yaml. If you update (or create) the ConfigMap after the SusQL Operator has been installed, then restarting the SusQL Operator controller pod will enable the changes. (e.g., Delete the pod, and allow it to be recreated automatically.)

License

Copyright 2023, 2024.

Licensed under the Apache License, Version 2.0 (the “License”); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an “AS IS” BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.