&& echo "deb https://apt.kubernetes.io/ kubernetes-xenial main" | tee -a /etc/apt/sources.list.d/kubernetes.list \
&& apt-get update && apt-get install -y kubectl=1.20.4-00
-RUN curl https://get.helm.sh/helm-v2.15.2-linux-amd64.tar.gz --output helm-v2.15.2.tar.gz \
- && tar -zxvf helm-v2.15.2.tar.gz \
+RUN curl https://get.helm.sh/helm-v2.17.0-linux-amd64.tar.gz --output helm-v2.17.0.tar.gz \
+ && tar -zxvf helm-v2.17.0.tar.gz \
&& mv linux-amd64/helm /usr/local/bin/helm \
&& rm -r linux-amd64/
ENV OSMLCM_VCA_KUBECTLPATH /usr/bin/kubectl
ENV OSMLCM_VCA_JUJUPATH /usr/local/bin/juju
+# helm
+ENV OSMLCM_VCA_STABLEREPOURL https://charts.helm.sh/stable
+
# logs
# ENV OSMLCM_GLOBAL_LOGFILE /app/log/lcm.log
# ENV OSMLCM_GLOBAL_LOGLEVEL DEBUG
during controller and model creation
(bootstrap --config and add-model --config).
type: string
+ vca_stablerepourl:
+ description: Stable repository URL for Helm charts
+ type: string
+ default: https://charts.helm.sh/stable
vca_model_config_test_mode: Optional[bool]
vca_model_config_transmit_vendor_metrics: Optional[bool]
vca_model_config_update_status_hook_interval: Optional[str]
+ vca_stablerepourl: Optional[str]
@validator("log_level")
def validate_log_level(cls, v):
"OSMLCM_STORAGE_COLLECTION": "files",
"OSMLCM_STORAGE_URI": config.mongodb_uri
or self.mongodb_client.connection_string,
+ "OSMLCM_VCA_STABLEREPOURL": config.vca_stablerepourl,
}
)
if config.vca_host: