Giter Club home page Giter Club logo

sapcp-operator's Introduction

sapcp-operator

Coverage Status Build Status License Go Report Card

Prerequisites

  • kubernetes cluster
  • kubectl
  • helm

Setup

  1. Install cert-manager:

    kubectl apply -f https://github.com/jetstack/cert-manager/releases/download/v1.1.0/cert-manager.yaml
    
  2. Create service manager secret:

    kubectl create secret generic sapcp-operator-secret \
      --from-literal=clientid="< clientid >" \
      --from-literal=clientsecret="< secret >" \
      --from-literal=url="< sm_url >" \
      --from-literal=subdomain="< subdomain >" \
      --namespace=sapcp-operator-system
    

    e.g.

    kubectl create secret generic sapcp-operator-secret \
     --from-literal=clientid="myclient" \
     --from-literal=clientsecret="mysecret" \
     --from-literal=url="https://service-manager.cfapps.sap.hana.ondemand.com" \
     --from-literal=subdomain="MyDemoSubaccount0909" \
     --namespace=sapcp-operator-system
    
  3. Deploy the sapcp-operator in the cluster:

    helm install sapcp-operator https://github.com/sm-operator/sapcp-operator/releases/download/${release}/sapcp-operator-${release}.tgz
    

    The list of available releases is available here: sapcp-operator releases

Local setup

Create kind with local docker registry

./hack/kind-with-registry.sh

Run tests

make test

Deploy locally

make docker-build
docker tag controller:latest localhost:5000/controller:latest
docker push localhost:5000/controller:latest
make deploy IMG=localhost:5000/controller:latest

sapcp-operator's People

Contributors

pavelmaliy avatar eyalnathan avatar kerenlahav 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.