Update labels
This commit is contained in:
parent
282fd08959
commit
850d426335
|
@ -3,16 +3,20 @@ kind: Deployment
|
||||||
metadata:
|
metadata:
|
||||||
name: drone-runner
|
name: drone-runner
|
||||||
labels:
|
labels:
|
||||||
|
app: drone
|
||||||
|
component: runner
|
||||||
app.kubernetes.io/name: drone-runner
|
app.kubernetes.io/name: drone-runner
|
||||||
app.kubernetes.io/instance: drone-runner
|
app.kubernetes.io/instance: drone-runner
|
||||||
spec:
|
spec:
|
||||||
selector:
|
selector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
app.kubernetes.io/name: drone-runner
|
app: drone
|
||||||
app.kubernetes.io/instance: drone-runner
|
component: runner
|
||||||
template:
|
template:
|
||||||
metadata:
|
metadata:
|
||||||
labels:
|
labels:
|
||||||
|
app: drone
|
||||||
|
component: runner
|
||||||
app.kubernetes.io/name: drone-runner
|
app.kubernetes.io/name: drone-runner
|
||||||
app.kubernetes.io/instance: drone-runner
|
app.kubernetes.io/instance: drone-runner
|
||||||
spec:
|
spec:
|
||||||
|
|
|
@ -3,16 +3,20 @@ kind: Deployment
|
||||||
metadata:
|
metadata:
|
||||||
name: drone
|
name: drone
|
||||||
labels:
|
labels:
|
||||||
|
app: drone
|
||||||
|
component: web
|
||||||
app.kubernetes.io/name: drone
|
app.kubernetes.io/name: drone
|
||||||
app.kubernetes.io/instance: drone
|
app.kubernetes.io/instance: drone
|
||||||
spec:
|
spec:
|
||||||
selector:
|
selector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
app.kubernetes.io/name: drone
|
app: drone
|
||||||
app.kubernetes.io/instance: drone
|
component: web
|
||||||
template:
|
template:
|
||||||
metadata:
|
metadata:
|
||||||
labels:
|
labels:
|
||||||
|
app: drone
|
||||||
|
component: web
|
||||||
app.kubernetes.io/name: drone
|
app.kubernetes.io/name: drone
|
||||||
app.kubernetes.io/instance: drone
|
app.kubernetes.io/instance: drone
|
||||||
spec:
|
spec:
|
||||||
|
|
|
@ -3,16 +3,20 @@ kind: Deployment
|
||||||
metadata:
|
metadata:
|
||||||
name: element
|
name: element
|
||||||
labels:
|
labels:
|
||||||
|
app: element
|
||||||
|
component: web
|
||||||
app.kubernetes.io/name: element
|
app.kubernetes.io/name: element
|
||||||
app.kubernetes.io/instance: element
|
app.kubernetes.io/instance: element
|
||||||
spec:
|
spec:
|
||||||
selector:
|
selector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
app.kubernetes.io/name: element
|
app: element
|
||||||
app.kubernetes.io/instance: element
|
component: web
|
||||||
template:
|
template:
|
||||||
metadata:
|
metadata:
|
||||||
labels:
|
labels:
|
||||||
|
app: element
|
||||||
|
component: web
|
||||||
app.kubernetes.io/name: element
|
app.kubernetes.io/name: element
|
||||||
app.kubernetes.io/instance: element
|
app.kubernetes.io/instance: element
|
||||||
spec:
|
spec:
|
||||||
|
|
|
@ -3,16 +3,20 @@ kind: Deployment
|
||||||
metadata:
|
metadata:
|
||||||
name: invidious
|
name: invidious
|
||||||
labels:
|
labels:
|
||||||
|
app: invidious
|
||||||
|
component: web
|
||||||
app.kubernetes.io/name: invidious
|
app.kubernetes.io/name: invidious
|
||||||
app.kubernetes.io/instance: invidious
|
app.kubernetes.io/instance: invidious
|
||||||
spec:
|
spec:
|
||||||
selector:
|
selector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
app.kubernetes.io/name: invidious
|
app: invidious
|
||||||
app.kubernetes.io/instance: invidious
|
component: web
|
||||||
template:
|
template:
|
||||||
metadata:
|
metadata:
|
||||||
labels:
|
labels:
|
||||||
|
app: invidious
|
||||||
|
component: web
|
||||||
app.kubernetes.io/name: invidious
|
app.kubernetes.io/name: invidious
|
||||||
app.kubernetes.io/instance: invidious
|
app.kubernetes.io/instance: invidious
|
||||||
spec:
|
spec:
|
||||||
|
|
|
@ -3,6 +3,8 @@ apiVersion: rbac.authorization.k8s.io/v1
|
||||||
metadata:
|
metadata:
|
||||||
namespace: default
|
namespace: default
|
||||||
name: drone-runner
|
name: drone-runner
|
||||||
|
labels:
|
||||||
|
app: drone
|
||||||
rules:
|
rules:
|
||||||
- apiGroups:
|
- apiGroups:
|
||||||
- ""
|
- ""
|
||||||
|
|
|
@ -3,17 +3,21 @@ kind: StatefulSet
|
||||||
metadata:
|
metadata:
|
||||||
name: gitea
|
name: gitea
|
||||||
labels:
|
labels:
|
||||||
|
app: gitea
|
||||||
|
component: web
|
||||||
app.kubernetes.io/name: gitea
|
app.kubernetes.io/name: gitea
|
||||||
app.kubernetes.io/instance: gitea
|
app.kubernetes.io/instance: gitea
|
||||||
spec:
|
spec:
|
||||||
serviceName: gitea
|
serviceName: gitea
|
||||||
selector:
|
selector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
app.kubernetes.io/name: gitea
|
app: gitea
|
||||||
app.kubernetes.io/instance: gitea
|
component: web
|
||||||
template:
|
template:
|
||||||
metadata:
|
metadata:
|
||||||
labels:
|
labels:
|
||||||
|
app: gitea
|
||||||
|
component: web
|
||||||
app.kubernetes.io/name: gitea
|
app.kubernetes.io/name: gitea
|
||||||
app.kubernetes.io/instance: gitea
|
app.kubernetes.io/instance: gitea
|
||||||
annotations:
|
annotations:
|
||||||
|
|
|
@ -2,6 +2,7 @@ apiVersion: v1
|
||||||
kind: Service
|
kind: Service
|
||||||
metadata:
|
metadata:
|
||||||
labels:
|
labels:
|
||||||
|
app: drone
|
||||||
app.kubernetes.io/instance: drone
|
app.kubernetes.io/instance: drone
|
||||||
app.kubernetes.io/name: drone
|
app.kubernetes.io/name: drone
|
||||||
name: drone
|
name: drone
|
||||||
|
|
|
@ -2,6 +2,7 @@ apiVersion: v1
|
||||||
kind: Service
|
kind: Service
|
||||||
metadata:
|
metadata:
|
||||||
labels:
|
labels:
|
||||||
|
app: element
|
||||||
app.kubernetes.io/instance: element
|
app.kubernetes.io/instance: element
|
||||||
app.kubernetes.io/name: element
|
app.kubernetes.io/name: element
|
||||||
name: element
|
name: element
|
||||||
|
|
|
@ -3,6 +3,7 @@ apiVersion: v1
|
||||||
kind: Service
|
kind: Service
|
||||||
metadata:
|
metadata:
|
||||||
labels:
|
labels:
|
||||||
|
app: invidious
|
||||||
app.kubernetes.io/instance: invidious
|
app.kubernetes.io/instance: invidious
|
||||||
app.kubernetes.io/name: invidious
|
app.kubernetes.io/name: invidious
|
||||||
name: invidious
|
name: invidious
|
||||||
|
|
|
@ -30,9 +30,15 @@ configMapGenerator:
|
||||||
- name: invidious-config
|
- name: invidious-config
|
||||||
files:
|
files:
|
||||||
- config.yml=invidious-config.yaml
|
- config.yml=invidious-config.yaml
|
||||||
|
options:
|
||||||
|
labels:
|
||||||
|
app: invidious
|
||||||
- name: element-config
|
- name: element-config
|
||||||
files:
|
files:
|
||||||
- config.json=element-config.json
|
- config.json=element-config.json
|
||||||
|
options:
|
||||||
|
labels:
|
||||||
|
app: element
|
||||||
- name: drone-config
|
- name: drone-config
|
||||||
literals:
|
literals:
|
||||||
# For Gitea/drone integration to work in dev, Gitea must be served from the
|
# For Gitea/drone integration to work in dev, Gitea must be served from the
|
||||||
|
@ -43,7 +49,9 @@ configMapGenerator:
|
||||||
- rpc-host=dev-drone
|
- rpc-host=dev-drone
|
||||||
- rpc-proto=http
|
- rpc-proto=http
|
||||||
- logs-debug=false
|
- logs-debug=false
|
||||||
|
options:
|
||||||
|
labels:
|
||||||
|
app: drone
|
||||||
secretGenerator:
|
secretGenerator:
|
||||||
- name: grafana-credentials
|
- name: grafana-credentials
|
||||||
literals:
|
literals:
|
||||||
|
@ -58,6 +66,9 @@ secretGenerator:
|
||||||
- database-name=invidious
|
- database-name=invidious
|
||||||
- database-user=kemal
|
- database-user=kemal
|
||||||
- database-password=kemal
|
- database-password=kemal
|
||||||
|
options:
|
||||||
|
labels:
|
||||||
|
app: invidious
|
||||||
- name: gitea-config
|
- name: gitea-config
|
||||||
literals:
|
literals:
|
||||||
- admin-username=rob
|
- admin-username=rob
|
||||||
|
@ -65,12 +76,18 @@ secretGenerator:
|
||||||
- admin-email=mail@localhost
|
- admin-email=mail@localhost
|
||||||
files:
|
files:
|
||||||
- config.ini=gitea-config.ini
|
- config.ini=gitea-config.ini
|
||||||
|
options:
|
||||||
|
labels:
|
||||||
|
app: gitea
|
||||||
- name: drone-credentials
|
- name: drone-credentials
|
||||||
literals:
|
literals:
|
||||||
- database-url=postgres://postgres:postgres@dev-db:5432/drone?sslmode=disable
|
- database-url=postgres://postgres:postgres@dev-db:5432/drone?sslmode=disable
|
||||||
- gitea-client-id=55847c4a-c80e-4e77-ab36-c6d102273115
|
- gitea-client-id=55847c4a-c80e-4e77-ab36-c6d102273115
|
||||||
- gitea-client-secret=IU4cb59RNNLuI9PRkUbldcEQ5wYPEZMBK5s6p7vTdVfe
|
- gitea-client-secret=IU4cb59RNNLuI9PRkUbldcEQ5wYPEZMBK5s6p7vTdVfe
|
||||||
- rpc-secret=f5ec349109bb9bbdf00e4394afd28754
|
- rpc-secret=f5ec349109bb9bbdf00e4394afd28754
|
||||||
|
options:
|
||||||
|
labels:
|
||||||
|
app: drone
|
||||||
- name: synapse-config
|
- name: synapse-config
|
||||||
files:
|
files:
|
||||||
- homeserver.yaml=synapse-homeserver.yaml
|
- homeserver.yaml=synapse-homeserver.yaml
|
||||||
|
|
|
@ -18,9 +18,15 @@ configMapGenerator:
|
||||||
- name: invidious-config
|
- name: invidious-config
|
||||||
files:
|
files:
|
||||||
- config.yml=invidious-config.yaml
|
- config.yml=invidious-config.yaml
|
||||||
|
options:
|
||||||
|
labels:
|
||||||
|
app: invidious
|
||||||
- name: element-config
|
- name: element-config
|
||||||
files:
|
files:
|
||||||
- config.json=element-config.json
|
- config.json=element-config.json
|
||||||
|
options:
|
||||||
|
labels:
|
||||||
|
app: element
|
||||||
- name: drone-config
|
- name: drone-config
|
||||||
literals:
|
literals:
|
||||||
- gitea-server=https://git.netflux.io
|
- gitea-server=https://git.netflux.io
|
||||||
|
@ -29,7 +35,9 @@ configMapGenerator:
|
||||||
- rpc-host=drone.netflux.io
|
- rpc-host=drone.netflux.io
|
||||||
- rpc-proto=https
|
- rpc-proto=https
|
||||||
- logs-debug=false
|
- logs-debug=false
|
||||||
|
options:
|
||||||
|
labels:
|
||||||
|
app: drone
|
||||||
secretGenerator:
|
secretGenerator:
|
||||||
- name: prometheus-credentials
|
- name: prometheus-credentials
|
||||||
files:
|
files:
|
||||||
|
@ -48,18 +56,27 @@ secretGenerator:
|
||||||
files:
|
files:
|
||||||
- database-url=secrets/invidious-database-url
|
- database-url=secrets/invidious-database-url
|
||||||
- database-password=secrets/invidious-database-password
|
- database-password=secrets/invidious-database-password
|
||||||
|
options:
|
||||||
|
labels:
|
||||||
|
app: invidious
|
||||||
- name: gitea-config
|
- name: gitea-config
|
||||||
files:
|
files:
|
||||||
- admin-username=secrets/gitea-admin-username
|
- admin-username=secrets/gitea-admin-username
|
||||||
- admin-password=secrets/gitea-admin-password
|
- admin-password=secrets/gitea-admin-password
|
||||||
- admin-email=secrets/gitea-admin-email
|
- admin-email=secrets/gitea-admin-email
|
||||||
- config.ini=secrets/gitea-config.ini
|
- config.ini=secrets/gitea-config.ini
|
||||||
|
options:
|
||||||
|
labels:
|
||||||
|
app: gitea
|
||||||
- name: drone-credentials
|
- name: drone-credentials
|
||||||
files:
|
files:
|
||||||
- database-url=secrets/drone-database-url
|
- database-url=secrets/drone-database-url
|
||||||
- gitea-client-id=secrets/drone-gitea-client-id
|
- gitea-client-id=secrets/drone-gitea-client-id
|
||||||
- gitea-client-secret=secrets/drone-gitea-client-secret
|
- gitea-client-secret=secrets/drone-gitea-client-secret
|
||||||
- rpc-secret=secrets/drone-rpc-secret
|
- rpc-secret=secrets/drone-rpc-secret
|
||||||
|
options:
|
||||||
|
labels:
|
||||||
|
app: drone
|
||||||
- name: synapse-config
|
- name: synapse-config
|
||||||
files:
|
files:
|
||||||
- homeserver.yaml=secrets/synapse-homeserver.yaml
|
- homeserver.yaml=secrets/synapse-homeserver.yaml
|
||||||
|
|
Loading…
Reference in New Issue