Fix: Change namespace to algo-dcbot
All checks were successful
release-tag / release-image (push) Successful in 1m27s

This commit is contained in:
2024-09-05 11:44:17 +00:00
parent 3f79f0e6c6
commit 8464b1e2a8
6 changed files with 27 additions and 112 deletions

View File

@@ -3,6 +3,7 @@ apiVersion: apps/v1
kind: Deployment
metadata:
name: algo-dcbot
namespace: algo-dcbot
labels:
app: algo-dcbot
spec:
@@ -24,27 +25,23 @@ spec:
env:
- name: DC_TOKEN
valueFrom:
configMapKeyRef:
name: algo-dcbot-config
secretKeyRef:
name: algo-dcbot-secret
key: dcbot-token
optional: false
- name: DC_CLIENTID
valueFrom:
configMapKeyRef:
name: algo-dcbot-config
secretKeyRef:
name: algo-dcbot-secret
key: dcbot-id
optional: false
- name: ADMIN_ID
valueFrom:
configMapKeyRef:
name: algo-dcbot-config
secretKeyRef:
name: algo-dcbot-secret
key: maintainer-id
optional: true
- name: DEFAULT_ROLE
valueFrom:
configMapKeyRef:
name: algo-dcbot-config
secretKeyRef:
name: algo-dcbot-secret
key: default-role-id
optional: true
imagePullSecrets:
- name: regcred

View File

@@ -1,10 +1,11 @@
---
apiVersion: v1
kind: ConfigMap
kind: Secret
metadata:
name: algo-dcbot-config
name: algo-dcbot-secret
namespace: algo-dcbot
data:
dcbot-token:
dcbot-id:
maintainer-id:
dcbot-token:
default-role-id:
maintainer-id:

8
k8s/secret.regcred.yaml Normal file
View File

@@ -0,0 +1,8 @@
apiVersion: v1
kind: Secret
metadata:
name: regcred
namespace: algo-dcbot
type: kubernetes.io/dockerconfigjson
data:
.dockerconfigjson: