chore: sync hwlab node control-plane state
Capture D601 v03 control-plane YAML/CLI changes, update CI/CD skill notes, and document the hwlab.pikapython.com admin password reset boundary with follow-up issue #319.
This commit is contained in:
@@ -56,34 +56,26 @@ targets:
|
||||
repository: pikasTech/HWLAB
|
||||
branch: v0.3
|
||||
gitops:
|
||||
branch: v0.3-gitops
|
||||
branch: v0.3-d601-gitops
|
||||
path: deploy/gitops/node/d601/runtime-v03
|
||||
gitMirror:
|
||||
namespace: devops-infra
|
||||
serviceReadName: git-mirror-http
|
||||
serviceWriteName: git-mirror-write
|
||||
cachePvcName: hwlab-git-mirror-cache
|
||||
cacheHostPath: /var/lib/rancher/k3s/storage/hwlab-d601-v03-git-mirror-cache
|
||||
cachePvcStorage: 20Gi
|
||||
servicePort: 8080
|
||||
deploymentReplicas: 1
|
||||
deploymentReplicas: 0
|
||||
secretName: git-mirror-github-ssh
|
||||
syncConfigMapName: git-mirror-sync-script
|
||||
syncJobPrefix: git-mirror-hwlab-d601-v03-sync-manual
|
||||
flushJobPrefix: git-mirror-hwlab-d601-v03-flush-manual
|
||||
readUrl: http://git-mirror-http.devops-infra.svc.cluster.local:8080/pikasTech/HWLAB.git
|
||||
writeUrl: http://git-mirror-write.devops-infra.svc.cluster.local:8080/pikasTech/HWLAB.git
|
||||
storage:
|
||||
localPath:
|
||||
namespace: kube-system
|
||||
configMapName: local-path-config
|
||||
provisionerDeployment: local-path-provisioner
|
||||
helperImage: 127.0.0.1:5000/hwlab/hwlab-ci-node-tools:node22-alpine-bun-v1
|
||||
imagePullPolicy: IfNotPresent
|
||||
readUrl: http://git-mirror-http.devops-infra.svc.cluster.local/pikasTech/HWLAB.git
|
||||
writeUrl: http://git-mirror-write.devops-infra.svc.cluster.local/pikasTech/HWLAB.git
|
||||
tekton:
|
||||
pipelineName: hwlab-v03-ci-image-publish
|
||||
serviceAccountName: hwlab-v03-tekton-runner
|
||||
pipelineRunPrefix: hwlab-v03-ci-poll
|
||||
pipelineName: hwlab-d601-v03-ci-image-publish
|
||||
serviceAccountName: hwlab-d601-v03-tekton-runner
|
||||
pipelineRunPrefix: hwlab-d601-v03-ci-poll
|
||||
toolsImage:
|
||||
output: 127.0.0.1:5000/hwlab/hwlab-ci-node-tools:node22-alpine-bun-v1
|
||||
sourceKind: dockerfile
|
||||
@@ -132,22 +124,9 @@ targets:
|
||||
buildMode: node-local
|
||||
argo:
|
||||
namespace: argocd
|
||||
projectName: hwlab-v03
|
||||
applicationName: hwlab-node-v03
|
||||
applicationFile: application-v03.yaml
|
||||
repoURL: http://git-mirror-http.devops-infra.svc.cluster.local:8080/pikasTech/HWLAB.git
|
||||
obsoleteApplications:
|
||||
- hwlab-d601-v03
|
||||
resourceTracking:
|
||||
manageEndpointBridge: true
|
||||
repositoryCredential:
|
||||
enabled: true
|
||||
repoURL: git@github.com:pikasTech/HWLAB.git
|
||||
secretName: hwlab-node-v03-repository
|
||||
sourceSecret:
|
||||
namespace: hwlab-ci
|
||||
name: hwlab-git-ssh
|
||||
key: ssh-privatekey
|
||||
projectName: hwlab-d601
|
||||
applicationName: hwlab-d601-v03
|
||||
applicationFile: application-d601-v03.yaml
|
||||
install:
|
||||
enabled: true
|
||||
sourceKind: url
|
||||
|
||||
@@ -8,7 +8,6 @@ metadata:
|
||||
relatedIssues:
|
||||
- 280
|
||||
- 281
|
||||
- 1119
|
||||
- 297
|
||||
- 300
|
||||
|
||||
@@ -87,7 +86,7 @@ postgres:
|
||||
purpose: admin-and-secret-sync
|
||||
- id: D601-public
|
||||
cidr: 36.49.29.73/32
|
||||
purpose: platform-infra-and-hwlab-v03-app
|
||||
purpose: platform-infra-standby-app
|
||||
- id: G14-public
|
||||
cidr: 202.98.17.68/32
|
||||
purpose: platform-infra-runtime
|
||||
@@ -121,11 +120,6 @@ postgres:
|
||||
user: sub2api
|
||||
address: 10.0.8.0/22
|
||||
method: scram-sha-256
|
||||
- type: hostssl
|
||||
database: hwlab_d601_v03
|
||||
user: hwlab_d601_v03_app
|
||||
address: 10.0.8.0/22
|
||||
method: scram-sha-256
|
||||
- type: hostssl
|
||||
database: sub2api
|
||||
user: sub2api
|
||||
@@ -146,11 +140,6 @@ postgres:
|
||||
user: sub2api
|
||||
address: 36.49.29.73/32
|
||||
method: scram-sha-256
|
||||
- type: hostssl
|
||||
database: hwlab_d601_v03
|
||||
user: hwlab_d601_v03_app
|
||||
address: 36.49.29.73/32
|
||||
method: scram-sha-256
|
||||
- type: hostssl
|
||||
database: langbot
|
||||
user: langbot
|
||||
@@ -230,20 +219,6 @@ secrets:
|
||||
SUB2API_DB_NAME: sub2api
|
||||
randomHex:
|
||||
SUB2API_DB_PASSWORD: 32
|
||||
- name: hwlab-d601-v03-db-credentials
|
||||
sourceRef: platform-db/hwlab-d601-v03-db.env
|
||||
type: env
|
||||
requiredKeys:
|
||||
- HWLAB_D601_V03_DB_USER
|
||||
- HWLAB_D601_V03_DB_PASSWORD
|
||||
- HWLAB_D601_V03_DB_NAME
|
||||
createIfMissing:
|
||||
enabled: true
|
||||
values:
|
||||
HWLAB_D601_V03_DB_USER: hwlab_d601_v03_app
|
||||
HWLAB_D601_V03_DB_NAME: hwlab_d601_v03
|
||||
randomHex:
|
||||
HWLAB_D601_V03_DB_PASSWORD: 32
|
||||
- name: langbot-db-credentials
|
||||
sourceRef: platform-db/langbot-db.env
|
||||
type: env
|
||||
@@ -284,15 +259,6 @@ objects:
|
||||
createdb: false
|
||||
createrole: false
|
||||
superuser: false
|
||||
- name: hwlab_d601_v03_app
|
||||
passwordRef:
|
||||
sourceRef: platform-db/hwlab-d601-v03-db.env
|
||||
key: HWLAB_D601_V03_DB_PASSWORD
|
||||
login: true
|
||||
attributes:
|
||||
createdb: false
|
||||
createrole: false
|
||||
superuser: false
|
||||
- name: langbot
|
||||
passwordRef:
|
||||
sourceRef: platform-db/langbot-db.env
|
||||
@@ -317,11 +283,6 @@ objects:
|
||||
encoding: UTF8
|
||||
locale: C.UTF-8
|
||||
extensions: []
|
||||
- name: hwlab_d601_v03
|
||||
owner: hwlab_d601_v03_app
|
||||
encoding: UTF8
|
||||
locale: C.UTF-8
|
||||
extensions: []
|
||||
- name: langbot
|
||||
owner: langbot
|
||||
encoding: UTF8
|
||||
@@ -350,36 +311,6 @@ exports:
|
||||
- scope: platform-infra
|
||||
secret: sub2api-secrets
|
||||
key: DATABASE_URL
|
||||
- name: hwlab-d601-v03-cloud-api-database-url
|
||||
sourceSecretRef: platform-db/hwlab-d601-v03-db.env
|
||||
render:
|
||||
envKey: DATABASE_URL
|
||||
format: postgresql://$(HWLAB_D601_V03_DB_USER):$(HWLAB_D601_V03_DB_PASSWORD)@$(PGHOST):5432/$(HWLAB_D601_V03_DB_NAME)?sslmode=require&uselibpqcompat=true
|
||||
variables:
|
||||
PGHOST: 82.156.23.220
|
||||
writeToSecretSource:
|
||||
sourceRef: hwlab/d601-v03-cloud-api-db.env
|
||||
key: DATABASE_URL
|
||||
mode: update-or-insert
|
||||
consumers:
|
||||
- scope: hwlab-v03
|
||||
secret: hwlab-cloud-api-v03-db
|
||||
key: database-url
|
||||
- name: hwlab-d601-v03-openfga-datastore-uri
|
||||
sourceSecretRef: platform-db/hwlab-d601-v03-db.env
|
||||
render:
|
||||
envKey: DATASTORE_URI
|
||||
format: postgresql://$(HWLAB_D601_V03_DB_USER):$(HWLAB_D601_V03_DB_PASSWORD)@$(PGHOST):5432/$(HWLAB_D601_V03_DB_NAME)?sslmode=require
|
||||
variables:
|
||||
PGHOST: 82.156.23.220
|
||||
writeToSecretSource:
|
||||
sourceRef: hwlab/d601-v03-openfga-db.env
|
||||
key: DATASTORE_URI
|
||||
mode: update-or-insert
|
||||
consumers:
|
||||
- scope: hwlab-v03
|
||||
secret: hwlab-v03-openfga
|
||||
key: datastore-uri
|
||||
- name: langbot-database-url
|
||||
sourceSecretRef: platform-db/langbot-db.env
|
||||
render:
|
||||
@@ -440,9 +371,6 @@ observability:
|
||||
- kind: psql-app-role
|
||||
database: sub2api
|
||||
user: sub2api
|
||||
- kind: psql-app-role
|
||||
database: hwlab_d601_v03
|
||||
user: hwlab_d601_v03_app
|
||||
- kind: psql-app-role
|
||||
database: langbot
|
||||
user: langbot
|
||||
|
||||
Reference in New Issue
Block a user