Skip to content

Commit

Permalink
Bump apisix-ingress version to v1.1.0 (#125)
Browse files Browse the repository at this point in the history
Signed-off-by: Jintao Zhang <[email protected]>
  • Loading branch information
tao12345666333 authored Aug 5, 2021
1 parent f2602a8 commit ba0b70d
Show file tree
Hide file tree
Showing 8 changed files with 65 additions and 14 deletions.
2 changes: 1 addition & 1 deletion .github/actions/chart-releaser-action
Submodule chart-releaser-action updated 2 files
+3 −29 README.md
+1 −1 cr.sh
1 change: 0 additions & 1 deletion .github/actions/setup-helm
Submodule setup-helm deleted from feeafa
7 changes: 4 additions & 3 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ jobs:
- name: Checkout
uses: actions/checkout@v2
with:
submodules: recursive
fetch-depth: 0

- name: Configure Git
Expand All @@ -20,9 +21,9 @@ jobs:
git config user.email "[email protected]"
- name: Install Helm
uses: ./.github/actions/setup-helm
with:
version: v3.4.0
run: |
echo "installing helm 3..."
curl -sSL https://raw.githubusercontent.com/helm/helm/master/scripts/get-helm-3 | bash
- name: Add Helm repo
run: |
Expand Down
3 changes: 0 additions & 3 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@
path = .github/actions/setup-kind
url = https://github.com/engineerd/setup-kind.git
branch = v0.5.0
[submodule ".github/actions/setup-helm"]
path = .github/actions/setup-helm
url = https://github.com/Azure/setup-helm.git
[submodule ".github/actions/chart-releaser-action"]
path = .github/actions/chart-releaser-action
url = https://github.com/helm/chart-releaser-action.git
4 changes: 2 additions & 2 deletions charts/apisix-ingress-controller/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ keywords:
- nginx
- crd
type: application
version: 0.5.0
appVersion: 1.0.0
version: 0.6.0
appVersion: 1.1.0

maintainers:
- name: tao12345666333
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,11 @@ spec:
- name: v1
served: true
storage: false
deprecated: true
- name: v2alpha1
served: true
storage: false
- name: v2beta1
served: true
storage: true
scope: Namespaced
Expand All @@ -66,6 +70,7 @@ spec:
anyOf:
- required: ["http"]
- required: ["tcp"]
- required: ["stream"]
properties:
http:
type: array
Expand Down Expand Up @@ -262,6 +267,47 @@ spec:
required:
- serviceName
- servicePort
stream:
type: array
minItems: 1
items:
type: object
required: [ "name", "match", "backend", "protocol" ]
properties:
"protocol":
type: string
enum: [ "TCP", "UDP" ]
name:
type: string
minLength: 1
match:
type: object
properties:
ingressPort:
type: integer
minimum: 1
maximum: 65535
required:
- ingressPort
backend:
type: object
properties:
serviceName:
type: string
minLength: 1
servicePort:
type: integer
minimum: 1
maximum: 65535
resolveGranualrity:
type: string
enum: [ "endpoint", "service" ]
subset:
type: string
required:
- serviceName
- servicePort

---
apiVersion: apiextensions.k8s.io/v1beta1
kind: CustomResourceDefinition
Expand Down
8 changes: 8 additions & 0 deletions charts/apisix-ingress-controller/templates/rbac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,14 @@ rules:
- leases
verbs:
- '*'
- apiGroups:
- discovery.k8s.io
resources:
- endpointslices
verbs:
- get
- list
- watch
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
Expand Down
8 changes: 4 additions & 4 deletions charts/apisix-ingress-controller/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ replicaCount: 1
image:
repository: apache/apisix-ingress-controller
pullPolicy: IfNotPresent
tag: "1.0.0"
tag: "1.1.0"

imagePullSecrets: []

Expand Down Expand Up @@ -75,7 +75,7 @@ config:
kubeconfig: ""
# how long should apisix-ingress-controller re-synchronizes with Kubernetes,
# default is 6h,
resyncInterval: "60s"
resyncInterval: "6h"
# namespace list that controller will watch for resources,
# by default all namespaces (represented by "*") are watched.
appNamespaces: ["*"]
Expand All @@ -92,8 +92,8 @@ config:
# "extensions/v1beta1", default is "networking/v1".
ingressVersion: "networking/v1"
# the supported apisixroute api group version, can be "apisix.apache.org/v1"
# or "apisix.apache.org/v2alpha1",
apisixRouteVersion: "apisix.apache.org/v2alpha1"
# "apisix.apache.org/v2alpha1" or "apisix.apache.org/v2beta1"
apisixRouteVersion: "apisix.apache.org/v2beta1"
# APISIX related configurations.
apisix:
baseURL: "http://apisix-admin:9180/apisix/admin"
Expand Down

0 comments on commit ba0b70d

Please sign in to comment.