From 0f12b7b8da3364d84a611435cc653d62befe97ca Mon Sep 17 00:00:00 2001 From: "Alex Ellis (OpenFaaS Ltd)" Date: Mon, 2 Mar 2020 17:16:03 +0000 Subject: [PATCH] Switch config to not use bypass mode The configuration was set to use bypass mode, this has been updated. The RBAC rule also has an additional namespace for networking.k8s.io vs just "networking" which worked in prior testing. Fixes: 26 Fixes: 25 Signed-off-by: Alex Ellis (OpenFaaS Ltd) --- artifacts/operator-amd64.yaml | 6 ++---- artifacts/operator-rbac.yaml | 8 ++++---- 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/artifacts/operator-amd64.yaml b/artifacts/operator-amd64.yaml index a71bd3fe..c848f64a 100644 --- a/artifacts/operator-amd64.yaml +++ b/artifacts/operator-amd64.yaml @@ -19,15 +19,13 @@ spec: serviceAccountName: ingress-operator containers: - name: operator - image: openfaas/ingress-operator:0.6.0 + image: openfaas/ingress-operator:0.6.1 imagePullPolicy: Always command: - ./ingress-operator - - -logtostderr - - -v=2 env: - name: ingress_namespace - value: openfaas-fn + value: openfaas resources: limits: memory: 128Mi diff --git a/artifacts/operator-rbac.yaml b/artifacts/operator-rbac.yaml index c3c52f34..f2d379b9 100644 --- a/artifacts/operator-rbac.yaml +++ b/artifacts/operator-rbac.yaml @@ -14,15 +14,15 @@ rules: - apiGroups: ["openfaas.com"] resources: ["functioningresses"] verbs: ["get", "list", "watch", "create", "update", "patch", "delete"] -- apiGroups: ["extensions", "networking"] +- apiGroups: ["extensions", "networking", "networking.k8s.io"] resources: ["ingresses"] verbs: ["get", "list", "watch", "create", "update", "patch", "delete"] - apiGroups: [""] resources: ["events"] verbs: ["get", "list", "watch", "create", "update", "patch", "delete"] -- apiGroups: ["certmanager.k8s.io"] - resources: ["certificates"] - verbs: ["get", "list", "watch", "create", "update", "patch", "delete"] +# - apiGroups: ["certmanager.k8s.io"] +# resources: ["certificates"] +# verbs: ["get", "list", "watch", "create", "update", "patch", "delete"] --- apiVersion: rbac.authorization.k8s.io/v1 kind: RoleBinding