https://github.com/chinalhr/sidecar-operator
Sidecar operator manages sidecar in the kubernetes cluster and injects sidecar into Pod in the kubernetes cluster
https://github.com/chinalhr/sidecar-operator
kubernetes operator sidecar
Last synced: 8 months ago
JSON representation
Sidecar operator manages sidecar in the kubernetes cluster and injects sidecar into Pod in the kubernetes cluster
- Host: GitHub
- URL: https://github.com/chinalhr/sidecar-operator
- Owner: ChinaLHR
- License: apache-2.0
- Created: 2022-01-26T08:19:32.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-02-21T02:59:05.000Z (over 3 years ago)
- Last Synced: 2025-01-18T08:35:54.007Z (9 months ago)
- Topics: kubernetes, operator, sidecar
- Language: Go
- Homepage:
- Size: 151 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## Sidecar Operator
[](https://github.com/ChinaLHR/sidecar-operator/blob/main/LICENSE)
[](https://golang.org/)
[](https://img.shields.io/github/go-mod/go-version/chinalhr/sidecar-operator)
[](https://goreportcard.com/report/github.com/ChinaLHR/sidecar-operator)
[](https://circleci.com/gh/ChinaLHR/sidecar-operator/tree/main)## Overview
sidecar-operator manages sidecar in the kubernetes cluster and injects sidecar into Pod in the kubernetes cluster. It is built using the [Operator SDK](https://github.com/operator-framework/operator-sdk).
## Quick Start
### install Operator SDK
See Operator SDK document:
[https://sdk.operatorframework.io/docs/installation/](https://sdk.operatorframework.io/docs/installation/)
### Deploying the cert manager in the kubernetes cluster
We using [cert manager](https://github.com/jetstack/cert-manager) for provisioning the certificates for the webhook server.
See cert manager document:
[https://cert-manager.io/docs/installation/](https://cert-manager.io/docs/installation/)
### Deploying the Sidecar Operator in the kubernetes cluster
Build and Push the docker image to your repository.
deploying the sidecar operator to your kubernetes cluster.
```bash
make docker-build docker-push IMG=*/sidecar-operator:1.0.0
make deploy IMG=*/sidecar-operator:1.0.0
```### Create a simple SidecarSet
See the yaml file in the /example/config directory.
### Undeploying the Sidecar Operator in the kubernetes cluster
```bash
make undeploy IMG=*/sidecar-operator:1.0.0
```