Skip to content
This repository has been archived by the owner on Sep 13, 2022. It is now read-only.

sagikazarmark/kustomize-spotahome-redis-operator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

⚠️ Deprecation notice

As of 1.2.0 the Redis operator comes with a Kustomize setup based on this one. Therefore, there is no need to maintain this repository anymore.

Kustomize deployment manifests for spotahome/redis-operator

This repo contains manifests to install spotahome/redis-operator using Kustomize.

Installation

To install the latest version of the operator, run the following command:

kustomize build github.com/sagikazarmark/kustomize-spotahome-redis-operator/overlays/default | kubectl apply -f -

The default version installs the operator and every other manifest it needs for running (roles, service account, etc).

There are two additional versions (overlays) bundled with this repository:

  • minimal only installs the operator itself without components like RBAC or Service Account
  • full installs additional components, like a Prometheus ServiceMonitor

Repo structure

The repository uses kustomize components to provide a flexible way to install the operator.

  • base: Base manifests for the operator.
  • components: Additional components to improve the installation of redis-operator.
  • overlays: Final, installable manifests. (See the list of "versions" above)
├── base
├── components
│   ├── monitoring
│   ├── rbac
│   ├── rbac-full
│   ├── resources
│   └── version
└── overlays
    ├── minimal
    ├── default
    └── full

Create your own version

You can easily create your own overlay by reusing the components in this repository. All you need is your own kustomization.yaml file referencing components and/or overlays in this repository:

apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization

namespace: redis-operator

commonLabels:
    foo: bar

resources:
  - github.com/sagikazarmark/kustomize-spotahome-redis-operator/overlays/full

Attributions

Some of the manifests in this repository are based on the original project's examples.

License

The project is licensed under the MIT License.

About

Kustomize deployment manifests for spotahome/redis-operator

Resources

License

Stars

Watchers

Forks

Packages

No packages published