Skip to content
This repository has been archived by the owner on Mar 6, 2020. It is now read-only.

Fix/port forward #45

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open
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
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog
#
## 0.2.6: September 8, 2019
- Add `admin.hostname` value to handle redirect of root admin endpoint.
- Add config map checksums to deployment and statefulset to trigger rollout on change.

## 0.2.5: August 30, 2019
- __Potentially breaking__: Add release namespace to all resources to work with `helm template`
See https://github.com/helm/helm/issues/5465 for more information.
Expand Down
Binary file added docs/eventstore-0.2.6.tgz
Binary file not shown.
49 changes: 36 additions & 13 deletions docs/index.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,30 @@ entries:
eventstore:
- apiVersion: v1
appVersion: 4.1.1-hotfix1
created: 2019-08-31T17:17:12.9924404-04:00
created: 2019-09-08T12:27:34.3445074-04:00
description: A Helm chart for Kubernetes EventStore.
digest: 96195013776ac8699e06aa80b92abdce0062db139de5e3e51367566b4efc23e5
home: https://eventstore.org/
icon: https://eventstore.org/images/ouro-full.svg
keywords:
- eventstore
maintainers:
- email: [email protected]
name: ameier38
- email: [email protected]
name: jhinds
- email: [email protected]
name: riccardone
name: eventstore
sources:
- https://github.com/EventStore/eventstore-docker
- https://github.com/EventStore/EventStore
urls:
- https://eventstore.github.io/EventStore.Charts/eventstore-0.2.6.tgz
version: 0.2.6
- apiVersion: v1
appVersion: 4.1.1-hotfix1
created: 2019-09-08T12:27:34.3415105-04:00
description: A Helm chart for Kubernetes EventStore.
digest: b813a4de6d498d94ec0b837c59731e3693d291a38ea236dadd47aff302d93d2a
home: https://eventstore.org/
Expand All @@ -26,7 +49,7 @@ entries:
version: 0.2.5
- apiVersion: v1
appVersion: 4.1.1-hotfix1
created: 2019-08-31T17:17:12.9914424-04:00
created: 2019-09-08T12:27:34.3399422-04:00
description: A Helm chart for Kubernetes EventStore.
digest: 68d0cca0734f9068f249e7be11d8a89ec88cda3bf04e9b27037a472c8fe3c305
home: https://eventstore.org/
Expand All @@ -49,7 +72,7 @@ entries:
version: 0.2.4
- apiVersion: v1
appVersion: 4.1.1-hotfix1
created: 2019-08-31T17:17:12.9904401-04:00
created: 2019-09-08T12:27:34.3375097-04:00
description: A Helm chart for Kubernetes EventStore.
digest: ad118ce22cf08b05416f8011ef36ec7919f76794f3eef54cd4fe9bb6e07f9f53
home: https://eventstore.org/
Expand All @@ -72,7 +95,7 @@ entries:
version: 0.2.3
- apiVersion: v1
appVersion: 4.1.1-hotfix1
created: 2019-08-31T17:17:12.9894399-04:00
created: 2019-09-08T12:27:34.3365069-04:00
description: A Helm chart for Kubernetes EventStore.
digest: e27e825341c9372ce43ad11fc3066d55be8ec70b131d84b8cd2eb5a17e28b8d4
home: https://eventstore.org/
Expand All @@ -95,7 +118,7 @@ entries:
version: 0.2.2
- apiVersion: v1
appVersion: 4.1.1-hotfix1
created: 2019-08-31T17:17:12.9884383-04:00
created: 2019-09-08T12:27:34.3346393-04:00
description: A Helm chart for Kubernetes EventStore.
digest: d2e5f592d2cc4278005f33d64ff0dd70c4d60982e3a27a3e0e6fce28fe7aac50
home: https://eventstore.org/
Expand All @@ -118,7 +141,7 @@ entries:
version: 0.2.1
- apiVersion: v1
appVersion: 4.1.1-hotfix1
created: 2019-08-31T17:17:12.987439-04:00
created: 2019-09-08T12:27:34.3325106-04:00
description: A Helm chart for Kubernetes EventStore.
digest: c52383cc1c4647b8b11a11f1203dbad6ae558b0ca1afc8e94899fc9eac3d716f
home: https://eventstore.org/
Expand All @@ -141,7 +164,7 @@ entries:
version: 0.2.0
- apiVersion: v1
appVersion: 4.1.1-hotfix1
created: 2019-08-31T17:17:12.9864386-04:00
created: 2019-09-08T12:27:34.3315033-04:00
description: A Helm chart for Kubernetes EventStore.
digest: cba0d053c15705dc6e56ab3421825fab67a1926580651cf9e16df4639c7d2aeb
home: https://eventstore.org/
Expand All @@ -164,7 +187,7 @@ entries:
version: 0.1.5
- apiVersion: v1
appVersion: 4.1.1-hotfix1
created: 2019-08-31T17:17:12.9864386-04:00
created: 2019-09-08T12:27:34.3305056-04:00
description: A Helm chart for Kubernetes EventStore.
digest: 0c55e844c4b1095f7330067fb35fce2577f633a2f3335b93f7bc93b362d840b7
home: https://eventstore.org/
Expand All @@ -187,7 +210,7 @@ entries:
version: 0.1.4
- apiVersion: v1
appVersion: 4.1.1-hotfix1
created: 2019-08-31T17:17:12.9854392-04:00
created: 2019-09-08T12:27:34.3305056-04:00
description: A Helm chart for Kubernetes EventStore.
digest: 78cf6ea79b5edbc77163c2261b5105a11712f49acbd5b4151fdbd32a5faf3354
home: https://eventstore.org/
Expand All @@ -210,7 +233,7 @@ entries:
version: 0.1.3
- apiVersion: v1
appVersion: 4.1.1-hotfix1
created: 2019-08-31T17:17:12.9844397-04:00
created: 2019-09-08T12:27:34.3295061-04:00
description: A Helm chart for Kubernetes EventStore.
digest: 1f1c300846d608d990ea03d992b6c8169a8a62ae48bc39e7e4688b09d6d868b4
home: https://eventstore.org/
Expand All @@ -233,7 +256,7 @@ entries:
version: 0.1.2
- apiVersion: v1
appVersion: 4.1.1-hotfix1
created: 2019-08-31T17:17:12.9834402-04:00
created: 2019-09-08T12:27:34.3285243-04:00
description: A Helm chart for Kubernetes EventStore.
digest: b328c5794fd7a7c8f1f802144d4c351e09242d1107e25ea1dd840bf7ab8ad102
home: https://eventstore.org/
Expand All @@ -256,7 +279,7 @@ entries:
version: 0.1.1
- apiVersion: v1
appVersion: 4.1.1-hotfix1
created: 2019-08-31T17:17:12.9824401-04:00
created: 2019-09-08T12:27:34.3285243-04:00
description: A Helm chart for Kubernetes EventStore.
digest: 8b4974e422069914c1fe4a8203bca4947a1ebe91c8978c0ed4857be811eb7cad
home: https://eventstore.org/
Expand All @@ -277,4 +300,4 @@ entries:
urls:
- https://eventstore.github.io/EventStore.Charts/eventstore-0.1.0.tgz
version: 0.1.0
generated: 2019-08-31T17:17:12.9814389-04:00
generated: 2019-09-08T12:27:34.327508-04:00
2 changes: 1 addition & 1 deletion stable/eventstore/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v1
description: A Helm chart for Kubernetes EventStore.
name: eventstore
home: https://eventstore.org/
version: 0.2.5
version: 0.2.6
appVersion: 4.1.1-hotfix1
keywords:
- eventstore
Expand Down
1 change: 1 addition & 0 deletions stable/eventstore/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ The following table lists the configurable parameters of the Event Store chart a
| `imagePullPolicy` | Container pull policy | `IfNotPresent` |
| `imagePullSecrets` | Specify image pull secrets | `nil` |
| `clusterSize` | The number of nodes in the cluster | `3` |
| `admin.hostname` | Hostname of server running the admin interface | `localhost` |
| `admin.jobImage` | Post install Job image with `curl` installed for setting admin password | `tutum/curl` |
| `admin.jobImageTag` | Post install Job image tag | `latest` |
| `admin.password` | Custom password for admin interface (should be set in separate file) | `nil` |
Expand Down
2 changes: 0 additions & 2 deletions stable/eventstore/templates/NOTES.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ You can access Event Store:

ref: https://eventstore.org/docs/dotnet-api/connecting-to-a-server/index.html#uris

{{- if gt .Values.clusterSize 1.0 }}
You can access the Event Store admin interface:
* From outside the cluster:
{{- if contains "NodePort" .Values.admin.serviceType }}
Expand All @@ -41,4 +40,3 @@ You can access the Event Store admin interface:

The default username and password is admin:changeit
{{- end }}
{{- end }}
1 change: 1 addition & 0 deletions stable/eventstore/templates/admin-configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,6 @@ data:
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header Host $http_host;
proxy_pass $eventstore;
proxy_redirect ~^http://[^/]+?/web/(.+)$ http://{{ .Values.admin.hostname }}:{{ .Values.extHttpPort }}/web/$1;
}
}
3 changes: 2 additions & 1 deletion stable/eventstore/templates/admin-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,9 @@ spec:
app.kubernetes.io/name: {{ include "eventstore.name" . }}-admin
app.kubernetes.io/instance: {{ .Release.Name }}
app.kubernetes.io/component: admin
{{- if .Values.podAnnotations }}
annotations:
checksum/config: {{ include (print $.Template.BasePath "/admin-configmap.yaml") . | sha256sum }}
{{- if .Values.podAnnotations }}
{{ toYaml .Values.podAnnotations | indent 8 }}
{{- end }}
spec:
Expand Down
5 changes: 2 additions & 3 deletions stable/eventstore/templates/eventstore-statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,13 @@ spec:
serviceName: {{ include "eventstore.fullname" . }}
template:
metadata:
annotations:
checksum/config: {{ include (print $.Template.BasePath "/eventstore-configmap.yaml") . | sha256sum }}
labels:
app.kubernetes.io/name: {{ include "eventstore.name" . }}
app.kubernetes.io/instance: {{ .Release.Name }}
app.kubernetes.io/component: database
{{- if .Values.podAnnotations }}
annotations:
checksum/config: {{ include (print $.Template.BasePath "/eventstore-configmap.yaml") . | sha256sum }}
{{- if .Values.podAnnotations }}
{{ toYaml .Values.podAnnotations | indent 8 }}
{{- end }}
spec:
Expand Down
4 changes: 4 additions & 0 deletions stable/eventstore/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,10 @@ clusterSize: 1
## ref: https://eventstore.org/docs/http-api/security/index.html
## ref: https://github.com/helm/helm/blob/master/docs/charts_hooks.md
admin:
##
## Host name for admin interface. If you plan on using a custom DNS such
## as eventstore.mycompany.com, then the value would be 'eventstore.mycompany.com'.
hostname: localhost
##
## Image with curl installed to make POST request for setting credentials.
jobImage: tutum/curl
Expand Down