@@ -75,6 +75,7 @@ resources:
7575- <<< : (( sum[funcs.splitIgnoreEmpty(",", funcs.ignoreDisabled(defaults.BP_COMPONENTS))|[]|s,comp|-> s *templates.blueprint] ))
7676- <<< : (( sum[funcs.splitIgnoreEmpty(",", funcs.ignoreDisabled(defaults.CHART_COMPONENTS))|[]|s,cv|-> ("cvs" = split(":", cv)) ("comp" = cvs[0], "chart_version" = (cvs[1] || defaults.CHART_VERSION)) s *templates.chart] ))
7777- <<< : (( sum[funcs.splitIgnoreEmpty(",", funcs.ignoreDisabled(defaults.IMG_COMPONENTS))|[]|s,cv|-> ("cvs" = split(":", cv)) ("comp" = cvs[0], "img_version" = (cvs[1] || defaults.IMG_VERSION)) s *templates.image] ))
78+ - <<< : (( sum[funcs.splitIgnoreEmpty(",", funcs.ignoreDisabled(defaults.CRDS_COMPONENTS))|[]|s,cv|-> ("cvs" = split(":", cv)) ("comp" = cvs[0], "crds_version" = (cvs[1] || defaults.CRDS_VERSION)) s *templates.image] ))
7879
7980
8081# ##########################################################################
@@ -88,6 +89,7 @@ defaults:
8889 BP_COMPONENTS : (( funcs.notEmpty(values.BP_PATH || "") ? ( funcs.notEmpty(values.BP_COMPONENTS || "") ? values.BP_COMPONENTS :values.COMPONENTS ) :"" ))
8990 CHART_COMPONENTS : (( funcs.notEmpty(values.CHART_COMPONENTS || "") ? values.CHART_COMPONENTS :values.COMPONENTS ))
9091 IMG_COMPONENTS : (( funcs.notEmpty(values.IMG_COMPONENTS || "") ? values.IMG_COMPONENTS :values.COMPONENTS ))
92+ CRDS_COMPONENTS : (( funcs.notEmpty(values.CRDS_COMPONENTS || "") ? values.CRDS_COMPONENTS :values.COMPONENTS ))
9193
9294funcs :
9395 <<< : (( &temporary ))
@@ -120,6 +122,14 @@ templates:
120122 access :
121123 imageReference : (( values.IMG_REGISTRY "/" comp ":" img_version ))
122124 type : ociArtifact
125+ crds :
126+ <<< : (( &template ))
127+ name : (( comp "-crds" ))
128+ type : fileSystem
129+ version : (( crds_version ))
130+ input :
131+ type : dir
132+ path : (( values.CRDS_PATH ))
123133
124134
125135
0 commit comments