File tree Expand file tree Collapse file tree 6 files changed +53
-5
lines changed
deploy/charts/jetstack-agent Expand file tree Collapse file tree 6 files changed +53
-5
lines changed Original file line number Diff line number Diff line change @@ -2,8 +2,8 @@ apiVersion: v2
2
2
name : jetstack-agent
3
3
description : Jetstack Secure Agent
4
4
type : application
5
- version : 0.1 .0
6
- appVersion : " v1.38 .0"
5
+ version : 0.2 .0
6
+ appVersion : " v1.39 .0"
7
7
home : https://github.com/jetstack/jetstack-secure
8
8
maintainers :
9
9
- name : JSCP and CRE Team
Original file line number Diff line number Diff line change 1
- 1. Please make sure you have the secret "{{ .Values.authentication.secretName }}" available
1
+ 1. Please make sure you have the credentials secret: "{{ .Values.authentication.secretName }}" available
2
2
3
- 2. Check the application if running with the following:
3
+ 2. Check the application is running with the following:
4
4
> kubectl get pods -n {{ .Release.Namespace }} -l app.kubernetes.io/instance={{ .Release.Name }}
5
+
6
+ 3. Check the application logs for successful connection to the platform:
7
+ > kubectl logs -n {{ .Release.Namespace }} $(kubectl get pod -n {{ .Release.Namespace }} -l app.kubernetes.io/instance={{ .Release.Name }}-o jsonpath='{.items[0].metadata.name}')
Original file line number Diff line number Diff line change @@ -189,3 +189,19 @@ data:
189
189
group : route.openshift.io
190
190
resource : routes
191
191
{{- end }}
192
+ {{- if or .Values.config.dataGatherers.default (has "venafienhancedissuer" .Values.config.dataGatherers.custom) }}
193
+ - kind : " k8s-dynamic"
194
+ name : " k8s/venaficlusterissuers"
195
+ config :
196
+ resource-type :
197
+ group : jetstack.io
198
+ version : v1alpha1
199
+ resource : venaficlusterissuers
200
+ - kind : " k8s-dynamic"
201
+ name : " k8s/venafiissuers"
202
+ config :
203
+ resource-type :
204
+ group : jetstack.io
205
+ version : v1alpha1
206
+ resource : venafiissuers
207
+ {{- end }}
Original file line number Diff line number Diff line change 77
77
- name : config
78
78
configMap :
79
79
name : agent-config
80
+ options : false
80
81
- name : credentials
81
82
secret :
82
83
secretName : {{ default "agent-credentials" .Values.authentication.secretName }}
84
+ optional : false
Original file line number Diff line number Diff line change @@ -250,3 +250,29 @@ subjects:
250
250
name : {{ include "jetstack-agent.serviceAccountName" . }}
251
251
namespace : {{ .Release.Namespace }}
252
252
{{- end }}
253
+ {{- if or .Values.config.dataGatherers.default (has "venafienhancedissuer" .Values.config.dataGatherers.custom) }}
254
+ ---
255
+ apiVersion : rbac.authorization.k8s.io/v1
256
+ kind : ClusterRole
257
+ metadata :
258
+ name : {{ include "jetstack-agent.fullname" . }}-venafi-enhanced-reader
259
+ rules :
260
+ - apiGroups : ["jetstack.io"]
261
+ resources :
262
+ - venafiissuers
263
+ - venaficlusterissuers
264
+ verbs : ["get", "list", "watch"]
265
+ ---
266
+ apiVersion : rbac.authorization.k8s.io/v1
267
+ kind : ClusterRoleBinding
268
+ metadata :
269
+ name : {{ include "jetstack-agent.fullname" . }}-venafi-enhanced-reader
270
+ roleRef :
271
+ kind : ClusterRole
272
+ name : {{ include "jetstack-agent.fullname" . }}-venafi-enhanced-reader
273
+ apiGroup : rbac.authorization.k8s.io
274
+ subjects :
275
+ - kind : ServiceAccount
276
+ name : {{ include "jetstack-agent.serviceAccountName" . }}
277
+ namespace : {{ .Release.Namespace }}
278
+ {{- end }}
Original file line number Diff line number Diff line change 10
10
repository : quay.io/jetstack/preflight
11
11
pullPolicy : IfNotPresent
12
12
# Overrides the image tag whose default is the chart appVersion.
13
- tag : " v0.1.38 "
13
+ tag : " v0.1.39 "
14
14
15
15
# -- specify credentials if pulling from a customer registry
16
16
imagePullSecrets : []
@@ -92,3 +92,4 @@ config:
92
92
# - webhook
93
93
# - openshift
94
94
# - istio
95
+ # - venafienhancedissuer
You can’t perform that action at this time.
0 commit comments