Skip to content

Commit 89c9bdf

Browse files
evanshoshanEvan Shoshanmegha1906
authored
Added support for service account annotations (#1841)
Co-authored-by: Evan Shoshan <[email protected]> Co-authored-by: Megha Bansal <[email protected]>
1 parent db9d573 commit 89c9bdf

File tree

4 files changed

+8
-2
lines changed

4 files changed

+8
-2
lines changed

stable/xray/CHANGELOG.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -903,4 +903,4 @@ All changes to this chart will be documented in this file.
903903
## [0.4.0] - Aug 22, 2018
904904
* Enabled RBAC support
905905
* Added ingress support
906-
* Updated Xray version to 2.2.4
906+
* Updated Xray version to 2.2.4

stable/xray/Chart.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,4 @@ name: xray
2424
sources:
2525
- https://github.com/jfrog/charts
2626
type: application
27-
version: 103.104.8
27+
version: 103.104.8

stable/xray/templates/xray-serviceaccount.yaml

+4
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22
apiVersion: v1
33
kind: ServiceAccount
44
metadata:
5+
{{- with .Values.serviceAccount.annotations }}
6+
annotations:
7+
{{ tpl (toYaml .) $ | indent 4 }}
8+
{{- end }}
59
labels:
610
app: {{ template "xray.name" . }}
711
chart: {{ template "xray.chart" . }}

stable/xray/values.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -356,6 +356,8 @@ serviceAccount:
356356
## The name of the ServiceAccount to use.
357357
## If not set and create is true, a name is generated using the fullname template
358358
name:
359+
## Service Account annotations
360+
annotations: {}
359361
## Explicitly mounts the API credentials for the Service Account
360362
automountServiceAccountToken: true
361363

0 commit comments

Comments
 (0)