Fixing duplicated annotation; added tests; prepped for bugfix release
This commit is contained in:
@@ -15,4 +15,4 @@ type: application
|
||||
# This is the chart version. This version number should be incremented each time you make changes
|
||||
# to the chart and its templates, including the app version.
|
||||
# Versions are expected to follow Semantic Versioning (https://semver.org/)
|
||||
version: 0.25.0
|
||||
version: 0.24.1
|
||||
|
||||
@@ -22,7 +22,7 @@ metadata:
|
||||
gimlet.io/git-sha: {{ .root.Values.gitSha }}
|
||||
{{- end }}
|
||||
{{- if .root.Values.gitRepository }}
|
||||
gimlet.io/git-sha: {{ .root.Values.gitRepository }}
|
||||
gimlet.io/git-repository: {{ .root.Values.gitRepository }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
spec:
|
||||
|
||||
@@ -0,0 +1,18 @@
|
||||
suite: test service
|
||||
templates:
|
||||
- ingress.yaml
|
||||
tests:
|
||||
- it: Should set Gimlet taxonomy on Ingress
|
||||
set:
|
||||
gitRepository: github.com/laszlocph/demo-app
|
||||
gitSha: xyz
|
||||
ingress:
|
||||
host: chart-example.local
|
||||
tlsEnabled: true
|
||||
asserts:
|
||||
- equal:
|
||||
path: metadata.annotations
|
||||
value:
|
||||
gimlet.io/git-repository: github.com/laszlocph/demo-app
|
||||
gimlet.io/git-sha: xyz
|
||||
|
||||
Reference in New Issue
Block a user