mirror of
https://github.com/wahyd4/badger.git
synced 2026-08-09 05:15:58 +10:00
Update secrets for ui
This commit is contained in:
+8
-2
@@ -94,6 +94,14 @@ spec:
|
||||
env:
|
||||
- name: BASE_URL
|
||||
value: "https://badges.toozhao.com"
|
||||
- name: GITHUB_CLIENT_ID
|
||||
valueFrom:
|
||||
{ secretKeyRef: { name: github-credentials, key: clientId } }
|
||||
- name: GITHUB_CLIENT_SECRET
|
||||
valueFrom:
|
||||
{
|
||||
secretKeyRef: { name: github-credentials, key: clientSecret },
|
||||
}
|
||||
ports:
|
||||
- containerPort: 80
|
||||
name: ui-port
|
||||
@@ -108,7 +116,6 @@ spec:
|
||||
imagePullSecrets:
|
||||
- name: regcred
|
||||
---
|
||||
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
@@ -200,7 +207,6 @@ spec:
|
||||
serviceName: badger
|
||||
servicePort: 80
|
||||
|
||||
|
||||
---
|
||||
apiVersion: monitoring.coreos.com/v1
|
||||
kind: ServiceMonitor
|
||||
|
||||
+2
-2
@@ -112,8 +112,8 @@ export default {
|
||||
},
|
||||
strategies: {
|
||||
github: {
|
||||
clientId: "e5f10ed97cf95f71c5b7",
|
||||
clientSecret: "8543545533ca899c8d9b40b89c3685202c8eb683"
|
||||
clientId: process.env.GITHUB_CLIENT_ID,
|
||||
clientSecret: process.env.GITHUB_CLIENT_SECRET
|
||||
},
|
||||
local: {
|
||||
token: {
|
||||
|
||||
Reference in New Issue
Block a user