Skip to content
Snippets Groups Projects
Commit 83ccaa58 authored by Alex Ellis (OpenFaaS Ltd)'s avatar Alex Ellis (OpenFaaS Ltd)
Browse files

Remove basic-auth-plugin for CE


No longer required, it's now built into the CE gateway. You
can delete this deployment and service from your openfaas
namespace.

Signed-off-by: default avatarAlex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>
parent 6080615c
No related branches found
No related tags found
No related merge requests found
......@@ -2,7 +2,7 @@ apiVersion: v2
type: application
description: OpenFaaS - Serverless Functions Made Simple
name: openfaas
version: 11.1.9
version: 11.1.10
sources:
- https://github.com/openfaas/faas
- https://github.com/openfaas/faas-netes
......
No preview for this file type
This diff is collapsed.
No preview for this file type
No preview for this file type
No preview for this file type
File added
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
......@@ -18,7 +18,7 @@ spec:
app: alertmanager
annotations:
sidecar.istio.io/inject: "true"
checksum/alertmanager-config: "c813fe638c225b775c7b9eb6210c494c7d3ca6b234b207aa139d28630476a8e3"
checksum/alertmanager-config: "bc376cb08c9bd6178c7a41f3fe2e7d2135d6c5b5d57d8dc35a03cbd3c7e6eb46"
spec:
containers:
- name: alertmanager
......
---
apiVersion: apps/v1
kind: Deployment
metadata:
labels:
app: openfaas
component: basic-auth-plugin
name: basic-auth-plugin
namespace: "openfaas"
spec:
replicas: 1
selector:
matchLabels:
app: basic-auth-plugin
template:
metadata:
annotations:
prometheus.io/scrape: "false"
labels:
app: basic-auth-plugin
spec:
volumes:
- name: auth
secret:
secretName: basic-auth
containers:
- name: basic-auth-plugin
resources:
requests:
cpu: 20m
memory: 50Mi
image: ghcr.io/openfaas/basic-auth:0.25.5
imagePullPolicy: Always
securityContext:
readOnlyRootFilesystem: true
runAsUser: 10001
livenessProbe:
httpGet:
path: /health
port: 8080
timeoutSeconds: 5
readinessProbe:
httpGet:
path: /health
port: 8080
timeoutSeconds: 5
env:
- name: secret_mount_path
value: "/var/secrets"
- name: basic_auth
value: "true"
volumeMounts:
- name: auth
readOnly: true
mountPath: "/var/secrets"
ports:
- name: http
containerPort: 8080
protocol: TCP
......@@ -83,10 +83,6 @@ spec:
value: "true"
- name: secret_mount_path
value: "/var/secrets"
- name: auth_proxy_url
value: "http://basic-auth-plugin.openfaas:8080/validate"
- name: auth_pass_body
value: "false"
- name: scale_from_zero
value: "true"
- name: max_idle_conns
......
......@@ -18,7 +18,7 @@ spec:
app: prometheus
annotations:
sidecar.istio.io/inject: "true"
checksum/prometheus-config: "80d6b1f67518e397eab9877704f4e83a00dfd4ee25114c0011659cb3f92e4190"
checksum/prometheus-config: "344f9ee4d7d0a404afe7ffe7c5dff9823999fd6236d7492e4a0089b7654b69c5"
spec:
serviceAccountName: openfaas-prometheus
containers:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment