Hi Sai,
Just changing the "mustFirst" to "first" completes the compile. Looks
like "mustFirst" is not supported on "2.17.0" version of helm.
Here is the diff that will help
-------------------
+++ b/kubernetes/common/cmpv2Certificate/templates/_certServiceClient.tpl
@@ -92,7 +92,7 @@ There also need to be some includes used in a target
component deployment (inden
{{- $outputType :=
$subchartGlobal.platform.certServiceClient.envVariables.outputType -}}
{{- if $certificate.keystore -}}
{{- $outputTypeList := (required "'outputType' in 'keystore' section is
required." $certificate.keystore.outputType) -}}
-{{- $outputType = mustFirst ($outputTypeList) | upper -}}
+{{- $outputType = first ($outputTypeList) | upper -}}
{{- end -}}
{{- $requestUrl :=
$subchartGlobal.platform.certServiceClient.envVariables.requestURL -}}
{{- $certPath :=
$subchartGlobal.platform.certServiceClient.envVariables.certPath -}}
diff --git a/kubernetes/common/dgbuilder/values.yaml
b/kubernetes/common/dgbuilder/values.yaml
--
+++ b/kubernetes/sdnc/templates/statefulset.yaml
@@ -207,7 +207,7 @@ spec:
{{- end }}
{{- if .Values.global.cmpv2Enabled }}
- name: ODL_CERT_DIR
- value: {{ (mustFirst (.Values.certificates)).mountPath }}
+ value: {{ (first (.Values.certificates)).mountPath }}
{{- end }}
volumeMounts:
-------------------
Sylvain/Krzysztof, can you please confirm if the workaround is ok. I think
we should change the wiki page too and mention that we need a higher
version of helm.
(https://docs.onap.org/projects/onap-oom/en/latest/oom_quickstart_guide.html
)
thanks,
-RP
On Tue, Mar 9, 2021 at 6:11 PM Sai Lakshmi Cheedella <
[email protected]> wrote:
> Hi Bartek,
>
> Got the above Failure with the inclusion of SKIP_LINT=TRUE variable as
> part of make. Can you have a look at it once and let me know what could be
> the wrong.
>
> Couldn't access the url
> https://docs.onap.org/projects/onap-oom/en/latest/oom_quickstart_guide.html
> <https://docs.onap.org/projects/onap-oom/en/latest/oom_quickstart_guide.html,>
>
> Thanks,
> Sailakshmi.
>
>
>
--
*CRN Top 10 Coolest Edge Computing Startups of 2020
<https://www.crn.com/slide-shows/networking/the-10-coolest-edge-computing-startups-of-2020/2>*
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#22967): https://lists.onap.org/g/onap-discuss/message/22967
Mute This Topic: https://lists.onap.org/mt/81193064/21656
Group Owner: [email protected]
Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-