Skip to content

Commit 18687fe

Browse files
authored
Merge pull request #4 from datawire/alicewasko/release-7.1.0-ea
[WIP] Prep edge-stack chart for release
2 parents 84ee3dc + 84c813c commit 18687fe

File tree

6 files changed

+48
-5
lines changed

6 files changed

+48
-5
lines changed

charts/edge-stack/CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@ numbering uses [semantic versioning](http://semver.org).
77

88
(no changes yet)
99

10+
## v7.1.0-ea
11+
12+
- Feature: New canarying features for Ambassador in the chart that allow creation of a secondary deployment/service to test new versions and environment variables.
13+
- Feature: Exposed `progressDeadlineSeconds` for the Ambassador and Ambassador Agent Deployments with new values
14+
1015
## v7.0.0-ea
1116

1217
- Update Edge Stack chart image to version v2.0.0-ea: [CHANGELOG](https://github.com/datawire/edge-stack/blob/master/CHANGELOG.md)

charts/edge-stack/Chart.lock

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
dependencies:
22
- name: emissary-ingress
33
repository: https://s3.amazonaws.com/datawire-static-files/charts
4-
version: 7.0.0-ea
5-
digest: sha256:9ad439487ce2ddf2be623d04a58dbd5a1c91067f7f69a23d391df4be97a0b115
6-
generated: "2021-06-24T16:57:24.2987-06:00"
4+
version: 7.1.0-ea
5+
digest: sha256:a8609203f78091b1ca1d5a2f4b7df0b3f7bc7bcc12a7471f0058050c0861c266
6+
generated: "2021-07-15T13:33:36.856800266-07:00"

charts/edge-stack/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apiVersion: v2
22
appVersion: 2.0.0-ea
33
description: A Helm chart for Ambassador Edge Stack
44
name: edge-stack
5-
version: 7.0.0-ea
5+
version: 7.1.0-ea
66
# TODO: change these to whatever the appropriate things are
77
icon: https://www.getambassador.io/images/logo.png
88
home: https://www.getambassador.io/
@@ -27,5 +27,5 @@ maintainers:
2727
engine: gotpl
2828
dependencies:
2929
- name: emissary-ingress
30-
version: 7.0.0-ea
30+
version: v7.1.0-ea
3131
repository: "https://s3.amazonaws.com/datawire-static-files/charts"
Binary file not shown.
Binary file not shown.

charts/edge-stack/templates/_helpers.tpl

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,44 @@ If release name contains chart name it will be used as a full name.
3030
{{- end -}}
3131
{{- end -}}
3232

33+
34+
{{/*
35+
Set the image that should be used for ambassador.
36+
Use fullImageOverride if present,
37+
Then if the image repository is explicitly set, use "repository:image"
38+
*/}}
39+
{{- define "ambassador.image" -}}
40+
{{- if .Values.image.fullImageOverride }}
41+
{{- .Values.image.fullImageOverride }}
42+
{{- else if hasKey .Values.image "repository" -}}
43+
{{- printf "%s:%s" .Values.image.repository .Values.image.tag -}}
44+
{{- else -}}
45+
{{- printf "%s:%s" "docker.io/datawire/aes" .Values.image.tag -}}
46+
{{- end -}}
47+
{{- end -}}
48+
49+
50+
{{/*
51+
Set the image that should be used for the canary deployment.
52+
disabled if fullImageOverride is present
53+
*/}}
54+
{{- define "ambassador.canaryImage" -}}
55+
{{- if .Values.image.fullImageOverride }}
56+
{{- printf "%s" "" -}}
57+
{{- else if and .Values.canary.image.repository .Values.canary.image.tag -}}
58+
{{- printf "%s:%s" .Values.canary.image.repository .Values.canary.image.tag -}}
59+
{{- else if .Values.canary.image.tag -}}
60+
{{- if hasKey .Values.image "repository" -}}
61+
{{- printf "%s:%s" .Values.image.repository .Values.canary.image.tag -}}
62+
{{- else -}}
63+
{{- printf "%s:%s" "docker.io/datawire/aes" .Values.canary.image.tag -}}
64+
{{- end -}}
65+
{{- else -}}
66+
{{- printf "%s" "" -}}
67+
{{- end -}}
68+
{{- end -}}
69+
70+
3371
{{/*
3472
Create chart namespace based on override value.
3573
*/}}

0 commit comments

Comments
 (0)