Fix: Change namespace to algo-dcbot
All checks were successful
release-tag / release-image (push) Successful in 1m27s
All checks were successful
release-tag / release-image (push) Successful in 1m27s
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
8
k8s/secret.regcred.yaml
Normal file
@@ -0,0 +1,8 @@
|
||||
apiVersion: v1
|
||||
kind: Secret
|
||||
metadata:
|
||||
name: regcred
|
||||
namespace: algo-dcbot
|
||||
type: kubernetes.io/dockerconfigjson
|
||||
data:
|
||||
.dockerconfigjson:
|
||||
Reference in New Issue
Block a user