Skip to content

Commit

Permalink
Switch config to not use bypass mode
Browse files Browse the repository at this point in the history
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) <[email protected]>
  • Loading branch information
alexellis committed Mar 2, 2020
1 parent 6e523ca commit 0f12b7b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
6 changes: 2 additions & 4 deletions artifacts/operator-amd64.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 4 additions & 4 deletions artifacts/operator-rbac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0f12b7b

Please sign in to comment.