Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migration to hub.helm.sh #3

Merged
merged 3 commits into from
Apr 30, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 8 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,15 @@ Reflector includes a cert-manager extension used to automatically annotate creat

## Deployment

Reflector can be deployed either manually or using Helm (recommended). Each release (found on the [Releases](https://github.com/EmberStack/ES.Kubernetes.Reflector/releases) GitHub page) contains the manual deployment file (`reflector.yaml`) file and packaged Helm chart (`reflector.tgz`).
Reflector can be deployed either manually or using Helm (recommended).

#### Deployment using Helm

Use Helm to install the latest release packaged chart:
Use Helm to install the latest released chart:
```shellsession
$ helm upgrade --install reflector https://github.com/EmberStack/ES.Kubernetes.Reflector/releases/latest/download/reflector.tgz
```
or download the [latest](https://github.com/EmberStack/ES.Kubernetes.Reflector/releases/latest) `reflector.tgz` packaged chart and apply it:

```shellsession
$ helm upgrade --install reflector reflector.tgz
$ helm repo add emberstack https://emberstack.github.io/helm-charts
$ helm update
$ helm upgrade --install reflector emberstack/reflector
```

You can customize the values of the helm deployment by using the following Values:
Expand All @@ -43,18 +40,16 @@ You can customize the values of the helm deployment by using the following Value
| `tolerations` | Toleration labels for pod assignment | `[]` |
| `affinity` | Node affinity for pod assignment | `{}` |


> Find us on [Helm Hub](https://hub.helm.sh/charts/emberstack)


#### Manual deployment
Each release (found on the [Releases](https://github.com/EmberStack/ES.Kubernetes.Reflector/releases) GitHub page) contains the manual deployment file (`reflector.yaml`).

```shellsession
$ kubectl apply -f https://github.com/EmberStack/ES.Kubernetes.Reflector/releases/latest/download/reflector.yaml
```
or by downloading the [latest](https://github.com/EmberStack/ES.Kubernetes.Reflector/releases/latest) `reflector.yaml` file and apply it:

```shellsession
$ kubectl apply -f reflector.yaml
```

## Usage

Expand Down
2 changes: 1 addition & 1 deletion helm/reflector/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
apiVersion: v1
appVersion: "1.0"
description: A Helm chart to deploy Reflector
icon: https://raw.githubusercontent.com/EmberStack/CDN/master/Projects/ES.FX/es.fx.1.0.0.0.png
name: reflector
Expand All @@ -17,4 +16,5 @@ sources:
- https://github.com/EmberStack/ES.Kubernetes.Reflector
maintainers:
- name: winromulus
email: [email protected]
engine: gotpl
4 changes: 0 additions & 4 deletions helm/reflector/OWNERS

This file was deleted.

8 changes: 4 additions & 4 deletions helm/reflector/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Helm chart for [Reflector](https://github.com/EmberStack/ES.Kubernetes.Reflector)
Reflector is a Kubernetes addon designed monitor changes to resources (secrets and configmaps) and reflect changes to mirror resources in the same or other namespaces.
# Introduction
[Reflector](https://github.com/EmberStack/ES.Kubernetes.Reflector) is a Kubernetes addon designed monitor changes to resources (secrets and configmaps) and reflect changes to mirror resources in the same or other namespaces.

### Extensions
Reflector includes a `cert-manager` extension used to automatically annotate created secrets and allow reflection.
Expand All @@ -10,7 +10,7 @@ Please see a detailed usage guide on the [Reflector GitHub repository](https://g

You can install the chart with the release name `reflector` as below:
```console
$ helm install --name reflector stable/reflector
$ helm install --name reflector emberstack/reflector
```
> Note - If you do not specify a name, helm will select a name for you.

Expand Down Expand Up @@ -41,7 +41,7 @@ The configuration parameters in this section control the resources requested and
## Upgrading the Chart
You can upgrade using the following command:
```console
$ helm upgrade <HELM_RELEASE_NAME> stable/reflector
$ helm upgrade <HELM_RELEASE_NAME> emberstack/reflector
```

## Uninstalling the Chart
Expand Down