Giter VIP home page Giter VIP logo

search-operator's Introduction

search-operator

Operator for the Search Service. This Operator will create the redisgraph-user-secret and search-redisgraph statefulset. The search-redisgraph statefulset uses the searchoperator CR instance created during install process for the initial redisgraph pod configuration. The user has an option to update the pod configuration using searchcustomization CR. The goal is to move the search-chart in the near future.

Development

This project was created with the operator-sdk. About 90% of the code is automated boilerplate generated by the operator-sdk. To learn more about how to update this project check the getting-started guide

Most of the code in this project is auto-generated. The logic specific to this operator is at ./pkg/controllers/searchoperator_controller.go

Install the Operator SDK CLI

Follow the steps in the [installation guide][install_guide] to learn how to install the Operator SDK CLI tool. It requires [version v1.2][operator_sdk_v1.2]. Download and install operator-sdk for Mac:

https://v1-2-x.sdk.operatorframework.io/docs/installation/install-operator-sdk/

Build the Operator

  • git clone this repository.
  • operator-sdk init --domain="" --repo=github.com/stolostron/search-operator --verbose
  • make generate
  • make manifests
  • make docker-build

Update the search-operator deployment yaml with this generated docker image to test your changes. You may have to use personal quay.io repository or build the docker image in travis.

To create new APIs follow the example command for SearchCustomization CRD.

  • operator-sdk create api --group search.open-cluster-management.io --version v1alpha1 --kind SearchCustomization --resource=true --controller=true

Rebuild: 2021-11-23

search-operator's People

Contributors

sherinv avatar jlpadilla avatar xrajesh avatar mqhackett avatar dislbenn avatar schmidtd avatar robdolares avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.