This is an automated email from the ASF dual-hosted git repository.
kvn pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/apisix-ingress-controller.git
The following commit(s) were added to refs/heads/master by this push:
new 97037b8 fix: Fix deployment YAML (#44)
97037b8 is described below
commit 97037b8f193b7787946d77bd35fcda4e458d5e69
Author: Jintao Zhang <[email protected]>
AuthorDate: Thu Dec 3 15:37:18 2020 +0800
fix: Fix deployment YAML (#44)
* fix deployment using sa
Signed-off-by: Jintao Zhang <[email protected]>
* Using apps/v1 API version, available since v1.9.
apps/v1beta1 API versions is no longer served from k8s v1.16.
Signed-off-by: Jintao Zhang <[email protected]>
---
samples/deploy/deployment/ingress-controller.yaml | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/samples/deploy/deployment/ingress-controller.yaml
b/samples/deploy/deployment/ingress-controller.yaml
index 101a87b..1d527f6 100644
--- a/samples/deploy/deployment/ingress-controller.yaml
+++ b/samples/deploy/deployment/ingress-controller.yaml
@@ -1,4 +1,4 @@
-apiVersion: apps/v1beta1
+apiVersion: apps/v1
kind: Deployment
metadata:
name: ingress-controller
@@ -34,3 +34,4 @@ spec:
- containerPort: 8080
hostPort: 8080
terminationGracePeriodSeconds: 60
+ serviceAccountName: apisix-view-serviceaccount