diff --git a/CHANGELOG.md b/CHANGELOG.md index 3023b7d..53baf8e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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. diff --git a/docs/eventstore-0.2.6.tgz b/docs/eventstore-0.2.6.tgz new file mode 100644 index 0000000..99e94a9 Binary files /dev/null and b/docs/eventstore-0.2.6.tgz differ diff --git a/docs/index.yaml b/docs/index.yaml index 496aa28..73dd35b 100644 --- a/docs/index.yaml +++ b/docs/index.yaml @@ -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: ameier38@gmail.com + name: ameier38 + - email: jhinds2010@gmail.com + name: jhinds + - email: riccardo@dinuzzo.it + 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/ @@ -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/ @@ -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/ @@ -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/ @@ -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/ @@ -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/ @@ -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/ @@ -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/ @@ -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/ @@ -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/ @@ -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/ @@ -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/ @@ -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 diff --git a/stable/eventstore/Chart.yaml b/stable/eventstore/Chart.yaml index 1f08d7a..b6e7ada 100644 --- a/stable/eventstore/Chart.yaml +++ b/stable/eventstore/Chart.yaml @@ -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 diff --git a/stable/eventstore/README.md b/stable/eventstore/README.md index 228c429..98f106b 100644 --- a/stable/eventstore/README.md +++ b/stable/eventstore/README.md @@ -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` | diff --git a/stable/eventstore/templates/NOTES.txt b/stable/eventstore/templates/NOTES.txt index 1fc621f..e6d748a 100644 --- a/stable/eventstore/templates/NOTES.txt +++ b/stable/eventstore/templates/NOTES.txt @@ -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 }} @@ -41,4 +40,3 @@ You can access the Event Store admin interface: The default username and password is admin:changeit {{- end }} -{{- end }} diff --git a/stable/eventstore/templates/admin-configmap.yaml b/stable/eventstore/templates/admin-configmap.yaml index 34b127e..80302ef 100644 --- a/stable/eventstore/templates/admin-configmap.yaml +++ b/stable/eventstore/templates/admin-configmap.yaml @@ -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; } } diff --git a/stable/eventstore/templates/admin-deployment.yaml b/stable/eventstore/templates/admin-deployment.yaml index 938da92..f905aab 100644 --- a/stable/eventstore/templates/admin-deployment.yaml +++ b/stable/eventstore/templates/admin-deployment.yaml @@ -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: diff --git a/stable/eventstore/templates/eventstore-statefulset.yaml b/stable/eventstore/templates/eventstore-statefulset.yaml index e1eb3b4..604366b 100644 --- a/stable/eventstore/templates/eventstore-statefulset.yaml +++ b/stable/eventstore/templates/eventstore-statefulset.yaml @@ -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: diff --git a/stable/eventstore/values.yaml b/stable/eventstore/values.yaml index 9e57cef..e0a4ec1 100644 --- a/stable/eventstore/values.yaml +++ b/stable/eventstore/values.yaml @@ -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