File tree Expand file tree Collapse file tree 6 files changed +12
-6
lines changed
Expand file tree Collapse file tree 6 files changed +12
-6
lines changed Original file line number Diff line number Diff line change @@ -49,6 +49,11 @@ The command removes all the Kubernetes components associated with the chart and
4949| ` global.imagePullPolicy ` | Global Docker image registry | ` "" ` |
5050| ` global.imagePullSecrets ` | Global Docker registry secret names as an array | ` [] ` |
5151
52+ To create a secret to pull an image from a private container image registry or repository:
53+ ``` Bash
54+ $ kubectl create secret docker-registry ${SECRET_NAME} --docker-server=${DOCKER_SERVER} --docker-username=${DOCKER_USERNAME} --docker-password=${DOCKER_PASSWORD} --docker-email=${DOCKER_EMAIL}
55+ ```
56+
5257### TCA Metric parameters
5358| Name | Description | Value |
5459| ------------------------------------------------------- | ------------------------------------------------------- | -------------- |
Original file line number Diff line number Diff line change 3939 [LICENSE_CONFIG]
4040 ; [可选]使用自研工具时,需要填写,默认不需要
4141 ; license服务器url, base_path, license
42- URL=
42+ URL={{ .Values.tca.commonConfig.clsServerUrl }}
4343 BASE_PATH=
44- LICENSE=
44+ LICENSE={{ .Values.tca.commonConfig.clsServerLicense }}
4545
Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ metadata:
99 chart : {{ template "tca.chart" . }}
1010 release : {{ .Release.Name }}
1111spec :
12+ ingressClassName : nginx
1213 rules :
1314 - host : {{ .Values.tca.commonConfig.publicUrl }}
1415 http :
Original file line number Diff line number Diff line change 88 imagePullPolicy : IfNotPresent
99 # # E.g.
1010 # # imagePullSecrets:
11- # # - myRegistryKeySecretName
11+ # # -name: myRegistryKeySecretName
1212 # #
1313 imagePullSecrets : []
1414
Original file line number Diff line number Diff line change 11FROM python:3.7-slim-bullseye
22
3- ARG EXTRA_TOOLS="gnupg curl wget jq net-tools procps default-libmysqlclient-dev locales inotify-tools gcc telnet iputils-ping vim openssh-client"
3+ ARG EXTRA_TOOLS="gnupg curl wget jq net-tools procps default-libmysqlclient-dev locales inotify-tools gcc telnet iputils-ping vim openssh-client ncat "
44
55RUN set -ex && cd / \
66 && apt-get update \
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ FROM nginx:1.13.7
22
33RUN apt-get update && apt-get install -y unzip procps && rm /etc/nginx/conf.d/default.conf
44
5- COPY ./ tca-deploy-source /data/tca-deploy-source
5+ COPY tca-deploy-source /data/tca-deploy-source
66
7- WORKDIR /data/tca-deploy-source
7+ WORKDIR /data/tca-deploy-source/
88
You can’t perform that action at this time.
0 commit comments