mirror of
https://gitlab.com/shouptech/flux.git
synced 2026-02-03 14:49:44 +00:00
Updates
This commit is contained in:
parent
7ccc87a412
commit
b035d2d6da
4 changed files with 14 additions and 15 deletions
|
|
@ -2,23 +2,23 @@
|
||||||
apiVersion: apps/v1
|
apiVersion: apps/v1
|
||||||
kind: Deployment
|
kind: Deployment
|
||||||
metadata:
|
metadata:
|
||||||
name: grafana-proxy
|
name: grafanaproxy
|
||||||
namespace: grafana
|
namespace: grafana
|
||||||
spec:
|
spec:
|
||||||
replicas: 1
|
replicas: 1
|
||||||
selector:
|
selector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
app: grafana-proxy
|
app: grafanaproxy
|
||||||
template:
|
template:
|
||||||
metadata:
|
metadata:
|
||||||
labels:
|
labels:
|
||||||
app: grafana-proxy
|
app: grafanaproxy
|
||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- image: quay.io/oauth2-proxy/oauth2-proxy:v5.1.0
|
- image: quay.io/oauth2-proxy/oauth2-proxy:v5.1.0
|
||||||
args: ["-email-domain=*", "-upstream=http://grafana:3000/"]
|
args: ["-email-domain=*", "-upstream=http://grafana:3000/"]
|
||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: IfNotPresent
|
||||||
name: grafana-proxy
|
name: grafanaproxy
|
||||||
env:
|
env:
|
||||||
- name: OAUTH2_PROXY_SKIP_AUTH_REGEX
|
- name: OAUTH2_PROXY_SKIP_AUTH_REGEX
|
||||||
value: "/metrics(.*)"
|
value: "/metrics(.*)"
|
||||||
|
|
@ -27,19 +27,19 @@ spec:
|
||||||
- name: OAUTH2_PROXY_COOKIE_SECRET
|
- name: OAUTH2_PROXY_COOKIE_SECRET
|
||||||
valueFrom:
|
valueFrom:
|
||||||
secretKeyRef:
|
secretKeyRef:
|
||||||
name: grafana-proxy
|
name: grafanaproxy
|
||||||
key: cookie_secret
|
key: cookie_secret
|
||||||
- name: OAUTH2_PROXY_PROVIDER
|
- name: OAUTH2_PROXY_PROVIDER
|
||||||
value: nextcloud
|
value: nextcloud
|
||||||
- name: OAUTH2_PROXY_CLIENT_ID
|
- name: OAUTH2_PROXY_CLIENT_ID
|
||||||
valueFrom:
|
valueFrom:
|
||||||
secretKeyRef:
|
secretKeyRef:
|
||||||
name: grafana-proxy
|
name: grafanaproxy
|
||||||
key: client_id
|
key: client_id
|
||||||
- name: OAUTH2_PROXY_CLIENT_SECRET
|
- name: OAUTH2_PROXY_CLIENT_SECRET
|
||||||
valueFrom:
|
valueFrom:
|
||||||
secretKeyRef:
|
secretKeyRef:
|
||||||
name: grafana-proxy
|
name: grafanaproxy
|
||||||
key: client_secret
|
key: client_secret
|
||||||
- name: OAUTH2_PROXY_LOGIN_URL
|
- name: OAUTH2_PROXY_LOGIN_URL
|
||||||
value: https://cloud.shoup.io/index.php/apps/oauth2/authorize
|
value: https://cloud.shoup.io/index.php/apps/oauth2/authorize
|
||||||
|
|
|
||||||
|
|
@ -14,11 +14,11 @@ spec:
|
||||||
kind: Service
|
kind: Service
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
metadata:
|
metadata:
|
||||||
name: grafana-proxy
|
name: grafanaproxy
|
||||||
namespace: grafana
|
namespace: grafana
|
||||||
spec:
|
spec:
|
||||||
selector:
|
selector:
|
||||||
app: grafana-proxy
|
app: grafanaproxy
|
||||||
ports:
|
ports:
|
||||||
- protocol: TCP
|
- protocol: TCP
|
||||||
port: 4180
|
port: 4180
|
||||||
|
|
@ -35,6 +35,6 @@ spec:
|
||||||
http:
|
http:
|
||||||
paths:
|
paths:
|
||||||
- backend:
|
- backend:
|
||||||
serviceName: grafana-proxy
|
serviceName: grafanaproxy
|
||||||
servicePort: 4180
|
servicePort: 4180
|
||||||
path: /
|
path: /
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@ apiVersion: bitnami.com/v1alpha1
|
||||||
kind: SealedSecret
|
kind: SealedSecret
|
||||||
metadata:
|
metadata:
|
||||||
creationTimestamp: null
|
creationTimestamp: null
|
||||||
name: grafana-proxy
|
name: grafanaproxy
|
||||||
namespace: grafana
|
namespace: grafana
|
||||||
spec:
|
spec:
|
||||||
encryptedData:
|
encryptedData:
|
||||||
|
|
@ -12,8 +12,7 @@ spec:
|
||||||
template:
|
template:
|
||||||
metadata:
|
metadata:
|
||||||
creationTimestamp: null
|
creationTimestamp: null
|
||||||
name: grafana-proxy
|
name: grafanaproxy
|
||||||
namespace: grafana
|
namespace: grafana
|
||||||
type: Opaque
|
type: Opaque
|
||||||
status: {}
|
status: {}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -55,7 +55,7 @@ data:
|
||||||
disable.conf: ""
|
disable.conf: ""
|
||||||
|
|
||||||
filters.conf: |
|
filters.conf: |
|
||||||
<filter kubernetes.var.log.containers.nextcloud-** kubernetes.var.log.containers.echoserver-**>
|
<filter kubernetes.var.log.containers.nextcloud-** kubernetes.var.log.containers.echoserver-** kubernetes.var.log.containers.grafanaproxy-**>
|
||||||
@type parser
|
@type parser
|
||||||
key_name log
|
key_name log
|
||||||
reserve_data true
|
reserve_data true
|
||||||
|
|
@ -74,7 +74,7 @@ data:
|
||||||
</parse>
|
</parse>
|
||||||
</filter>
|
</filter>
|
||||||
|
|
||||||
<filter kubernetes.var.log.containers.flux-**>
|
<filter kubernetes.var.log.containers.flux-** kubernetes.var.log.containers.grafana-**>
|
||||||
@type parser
|
@type parser
|
||||||
key_name log
|
key_name log
|
||||||
reserve_data true
|
reserve_data true
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue