Skip to content

Commit

Permalink
ci(k8s-assets): update cronjob.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
drochow committed Nov 15, 2024
1 parent 9e1d227 commit e0abdb0
Showing 1 changed file with 19 additions and 7 deletions.
26 changes: 19 additions & 7 deletions scanner/k8s-assets/chart/k8s-assets-scanner/templates/cronjob.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,25 @@ spec:
mountPath: "{{ .Values.scanner.config_mount_path }}"
readOnly: true
env:
- name: HEUREKA_API_TOKEN
valueFrom:
secretKeyRef:
name: {{ .Release.Name }}-secret
key: api_token
- name: HEUREKA_URL
value: {{ .Values.scanner.heureka_url }}
- name: HEUREKA_API_TOKEN
valueFrom:
secretKeyRef:
name: {{ .Release.Name }}-secret
key: api_token
- name: HEUREKA_URL
value: {{ .Values.scanner.heureka_url }}
- name: SUPPORT_GROUP_LABEL
value: {{ .Values.scanner.support_group_label }}
- name: SERVICE_CCRN_LABEL
value: {{ .Values.scanner.service_label }}
- name: SCANNER_TIMEOUT
value: {{ .Values.scanner.scanner_timeout }}
- name: HEUREKA_CLUSTER_NAME
value: {{ .Values.scanner.k8s_cluster_name }}
- name: HEUREKA_CLUSTER_REGION
value: {{ .Values.scanner.k8s_cluster_region }}
- name: KUBE_CONFIG_TYPE
value: "in-cluster"
args:
- /bin/sh
- -c
Expand Down

0 comments on commit e0abdb0

Please sign in to comment.