File tree Expand file tree Collapse file tree 4 files changed +51
-4
lines changed
charts/apisix-ingress-controller Expand file tree Collapse file tree 4 files changed +51
-4
lines changed Original file line number Diff line number Diff line change @@ -24,8 +24,8 @@ keywords:
2424 - nginx
2525 - crd
2626type : application
27- version : 1.0.4
28- appVersion : 2.0.0-rc3
27+ version : 1.0.5
28+ appVersion : 2.0.0-rc4
2929sources :
3030 - https://github.com/apache/apisix-helm-chart
3131
Original file line number Diff line number Diff line change @@ -127,11 +127,12 @@ The same for container level, you need to set:
127127| config.provider.syncPeriod | string | ` "1m" ` | |
128128| config.provider.type | string | ` "apisix" ` | |
129129| config.secureMetrics | bool | ` false ` | |
130+ | deployment.adcContainer | object | ` {"config":{"logLevel":"info"},"image":{"repository":"ghcr.io/api7/adc","tag":"0.21.0"}} ` | Set adc sidecar container configuration |
130131| deployment.affinity | object | ` {} ` | |
131132| deployment.annotations | object | ` {} ` | Add annotations to Apache APISIX ingress controller resource |
132133| deployment.image.pullPolicy | string | ` "IfNotPresent" ` | |
133134| deployment.image.repository | string | ` "apache/apisix-ingress-controller" ` | |
134- | deployment.image.tag | string | ` "2.0.0-rc3 " ` | |
135+ | deployment.image.tag | string | ` "2.0.0-rc4 " ` | |
135136| deployment.nodeSelector | object | ` {} ` | |
136137| deployment.podAnnotations | object | ` {} ` | |
137138| deployment.podSecurityContext | object | ` {} ` | |
Original file line number Diff line number Diff line change 5353 fieldRef :
5454 fieldPath : metadata.name
5555 image : " {{ .Values.deployment.image.repository }}:{{ .Values.deployment.image.tag }}"
56+ imagePullPolicy : {{ .Values.deployment.image.pullPolicy }}
5657 ports :
5758 - containerPort : {{ splitList ":" .Values.config.metricsAddr | last | int }}
5859 name : metrics
7879 {{- toYaml .Values.deployment.resources | nindent 10 }}
7980 securityContext :
8081 {{- toYaml .Values.deployment.podSecurityContext | nindent 10 }}
82+ - name : adc-server
83+ image : " {{ .Values.deployment.adcContainer.image.repository }}:{{ .Values.deployment.adcContainer.image.tag }}"
84+ imagePullPolicy : {{ .Values.deployment.image.pullPolicy }}
85+ args :
86+ - " server"
87+ - " --listen"
88+ - " http://127.0.0.1:3000"
89+ - " --listen-status"
90+ - " 3001"
91+ env :
92+ - name : ADC_RUNNING_MODE
93+ value : " ingress"
94+ - name : ADC_EXPERIMENTAL_FEATURE_FLAGS
95+ value : " remote-state-file,parallel-backend-request"
96+ - name : ADC_INGRESS_LOG_LEVEL
97+ value : " {{ .Values.deployment.adcContainer.config.logLevel }}"
98+ ports :
99+ - name : http-status
100+ containerPort : 3001
101+ protocol : TCP
102+ livenessProbe :
103+ httpGet :
104+ path : /healthz/ready
105+ port : 3001
106+ initialDelaySeconds : 10
107+ periodSeconds : 10
108+ timeoutSeconds : 10
109+ readinessProbe :
110+ httpGet :
111+ path : /healthz/ready
112+ port : 3001
113+ initialDelaySeconds : 5
114+ periodSeconds : 5
115+ resources :
116+ {{- toYaml .Values.deployment.resources | nindent 10 }}
117+ securityContext :
118+ {{- toYaml .Values.deployment.podSecurityContext | nindent 10 }}
81119 {{- with .Values.deployment.nodeSelector }}
82120 nodeSelector :
83121 {{- toYaml . | nindent 8 }}
Original file line number Diff line number Diff line change @@ -60,10 +60,18 @@ deployment:
6060 image :
6161 repository : apache/apisix-ingress-controller
6262 pullPolicy : IfNotPresent
63- tag : " 2.0.0-rc3 "
63+ tag : " 2.0.0-rc4 "
6464 # -- Set pod resource requests & limits
6565 resources : {}
6666
67+ # -- Set adc sidecar container configuration
68+ adcContainer :
69+ image :
70+ repository : ghcr.io/api7/adc
71+ tag : " 0.21.0"
72+ config :
73+ logLevel : " info"
74+
6775config :
6876 logLevel : " info"
6977 controllerName : apisix.apache.org/apisix-ingress-controller
You can’t perform that action at this time.
0 commit comments