File tree Expand file tree Collapse file tree 6 files changed +109
-66
lines changed Expand file tree Collapse file tree 6 files changed +109
-66
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,10 @@ name: push on dockerhub
22on :
33 release :
44 types : [published]
5-
5+ push :
6+ branches :
7+ - release-v2-dev
8+ workflow_dispatch :
69jobs :
710 docker :
811 runs-on : ubuntu-20.04
Original file line number Diff line number Diff line change @@ -316,3 +316,9 @@ mv $(1) $(1)-$(3) ;\
316316} ;\
317317ln -sf $(1 ) -$(3 ) $(1 )
318318endef
319+
320+ charts-crds :
321+ @echo " build gateway-api standard crds"
322+ $(KUSTOMIZE ) build github.com/kubernetes-sigs/gateway-api/config/crd\? ref=${GATEAY_API_VERSION} > charts/crds/gwapi-crds.yaml
323+ @echo " build apisix ic crds"
324+ $(KUSTOMIZE ) build config/crd > charts/crds/apisixic-crds.yaml
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1313- apiGroups :
1414 - " "
1515 resources :
16- - services
16+ - namespaces
1717 verbs :
1818 - get
1919 - list
@@ -29,7 +29,68 @@ rules:
2929- apiGroups :
3030 - " "
3131 resources :
32- - namespaces
32+ - services
33+ verbs :
34+ - get
35+ - list
36+ - watch
37+ - apiGroups :
38+ - apisix.apache.org
39+ resources :
40+ - backendtrafficpolicies
41+ verbs :
42+ - get
43+ - list
44+ - watch
45+ - apiGroups :
46+ - apisix.apache.org
47+ resources :
48+ - backendtrafficpolicies/status
49+ verbs :
50+ - get
51+ - update
52+ - apiGroups :
53+ - apisix.apache.org
54+ resources :
55+ - consumers
56+ verbs :
57+ - get
58+ - list
59+ - watch
60+ - apiGroups :
61+ - apisix.apache.org
62+ resources :
63+ - consumers/status
64+ verbs :
65+ - get
66+ - update
67+ - apiGroups :
68+ - apisix.apache.org
69+ resources :
70+ - gatewayproxies
71+ verbs :
72+ - get
73+ - list
74+ - watch
75+ - apiGroups :
76+ - apisix.apache.org
77+ resources :
78+ - httproutepolicies
79+ verbs :
80+ - get
81+ - list
82+ - watch
83+ - apiGroups :
84+ - apisix.apache.org
85+ resources :
86+ - httproutepolicies/status
87+ verbs :
88+ - get
89+ - update
90+ - apiGroups :
91+ - apisix.apache.org
92+ resources :
93+ - pluginconfigs
3394 verbs :
3495 - get
3596 - list
@@ -102,12 +163,29 @@ rules:
102163 - get
103164 - update
104165- apiGroups :
105- - apisix.apache.org
166+ - networking.k8s.io
106167 resources :
107- - pluginconfigs
108- - pluginsconfigs/status
168+ - ingressclasses
169+ verbs :
170+ - get
171+ - list
172+ - watch
173+ - apiGroups :
174+ - networking.k8s.io
175+ resources :
176+ - ingresses
109177 verbs :
110- - ' *'
178+ - get
179+ - list
180+ - update
181+ - watch
182+ - apiGroups :
183+ - networking.k8s.io
184+ resources :
185+ - ingresses/status
186+ verbs :
187+ - get
188+ - update
111189
112190---
113191apiVersion : rbac.authorization.k8s.io/v1
Original file line number Diff line number Diff line change 2626 {{- include "api7-ingress-controller-manager.selectorLabels" . | nindent 8 }}
2727 spec :
2828 containers :
29- - image : " {{ .Values.image.repository }}:{{ .Values.image.tag }}"
29+ - env :
30+ - name : POD_NAMESPACE
31+ valueFrom :
32+ fieldRef :
33+ fieldPath : metadata.namespace
34+ - name : POD_NAME
35+ valueFrom :
36+ fieldRef :
37+ fieldPath : metadata.name
38+ image : " {{ .Values.image.repository }}:{{ .Values.image.tag }}"
3039 volumeMounts :
3140 - name : {{ .Release.Name }}-ingress-config
3241 mountPath : /app/conf/config.yaml
Original file line number Diff line number Diff line change 11nameOverride : " "
2+ fullnameOverride : " "
23labelsOverride : {}
34annotations : {}
45podAnnotations : {}
3536 repository : api7/api7-ingress-controller
3637 pullPolicy : IfNotPresent
3738 tag : " dev"
39+
40+ autoscaling :
41+ enabled : false
42+ minReplicas : 1
You can’t perform that action at this time.
0 commit comments