Skip to content

Commit

Permalink
fix: helm linting
Browse files Browse the repository at this point in the history
  • Loading branch information
drcgjung committed May 10, 2024
1 parent 93f43b9 commit dcee419
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion charts/agent-plane/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ Data Public URL
{{- printf "http://%s%s" .hostname $.Values.endpoints.public.path -}}
{{- end }}{{/* end if tls */}}
{{- else }}{{/* else when ingress not enabled */}}
{{- printf "http://%s-dataplane:%v%s" (include "txdc.fullname" . ) $.Values.endpoints.public.port $.Values.endpoints.public.path -}}
{{- printf "http://%s-dataplane:%v%s" (include "txap.fullname" $ ) $.Values.endpoints.public.port $.Values.endpoints.public.path -}}
{{- end }}{{/* end if ingress */}}
{{- end }}{{/* end with ingress */}}
{{- end }}{{/* end if .Values.url.public */}}
Expand Down
16 changes: 8 additions & 8 deletions charts/agent-plane/templates/deployment-dataplane.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ spec:
{{- if $dataplane.image.repository }}
image: "{{ $dataplane.image.repository }}:{{ $dataplane.image.tag | default .Chart.AppVersion }}"
{{- else }}
image: "{{ .Values.imageRegistry }}tractusx/agentplane-hashicorp:{{ $dataplane.image.tag | default $root.Chart.AppVersion }}"
image: "{{ .Values.imageRegistry }}tractusx/agentplane-hashicorp:{{ $dataplane.image.tag | default .Chart.AppVersion }}"
{{- end }}
imagePullPolicy: {{ $dataplane.image.pullPolicy }}
ports:
Expand Down Expand Up @@ -149,19 +149,19 @@ spec:

# see extension https://github.com/eclipse-tractusx/tractusx-edc/tree/main/edc-extensions/hashicorp-vault
- name: "EDC_VAULT_HASHICORP_URL"
value: {{ tpl $root.Values.vault.hashicorp.url $root | required ".Values.vault.hashicorp.url is required" | quote }}
value: {{ tpl .Values.vault.hashicorp.url . | required ".Values.vault.hashicorp.url is required" | quote }}
- name: "EDC_VAULT_HASHICORP_TOKEN"
value: {{ $root.Values.vault.hashicorp.token | required ".Values.vault.hashicorp.token is required" | quote }}
value: {{ .Values.vault.hashicorp.token | required ".Values.vault.hashicorp.token is required" | quote }}
- name: "EDC_VAULT_HASHICORP_TIMEOUT_SECONDS"
value: {{ $root.Values.vault.hashicorp.timeout | quote }}
value: {{ .Values.vault.hashicorp.timeout | quote }}
- name: "EDC_VAULT_HASHICORP_HEALTH_CHECK_ENABLED"
value: {{ $root.Values.vault.hashicorp.healthCheck.enabled | quote }}
value: {{ .Values.vault.hashicorp.healthCheck.enabled | quote }}
- name: "EDC_VAULT_HASHICORP_HEALTH_CHECK_STANDBY_OK"
value: {{ $root.Values.vault.hashicorp.healthCheck.standbyOk | quote }}
value: {{ .Values.vault.hashicorp.healthCheck.standbyOk | quote }}
- name: "EDC_VAULT_HASHICORP_API_SECRET_PATH"
value: {{ $root.Values.vault.hashicorp.paths.secret | quote }}
value: {{ .Values.vault.hashicorp.paths.secret | quote }}
- name: "EDC_VAULT_HASHICORP_API_HEALTH_CHECK_PATH"
value: {{ $root.Values.vault.hashicorp.paths.health | quote }}
value: {{ .Values.vault.hashicorp.paths.health | quote }}

##################
## TOKEN REFRESH
Expand Down

0 comments on commit dcee419

Please sign in to comment.