mirror of
https://github.com/whyour/qinglong.git
synced 2026-09-23 12:05:27 +08:00
feat(ql3): establish 3.0 incubation baseline
This commit is contained in:
+16
@@ -0,0 +1,16 @@
|
||||
{
|
||||
"schema": "qinglong/plugin-package-registry-credentials@v1",
|
||||
"credentials": [
|
||||
{
|
||||
"registry": "registry.example.com",
|
||||
"scheme": "bearer",
|
||||
"token": "REPLACE_WITH_PRIVATE_REGISTRY_TOKEN"
|
||||
},
|
||||
{
|
||||
"registry": "registry-backup.example.com:5443",
|
||||
"scheme": "basic",
|
||||
"username": "REPLACE_WITH_PRIVATE_REGISTRY_USERNAME",
|
||||
"password": "REPLACE_WITH_PRIVATE_REGISTRY_PASSWORD"
|
||||
}
|
||||
]
|
||||
}
|
||||
+13
@@ -0,0 +1,13 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
|
||||
resources:
|
||||
- ../cloudnative-pg
|
||||
|
||||
patches:
|
||||
- target:
|
||||
group: batch
|
||||
version: v1
|
||||
kind: Job
|
||||
labelSelector: app.kubernetes.io/name=ql3-plugin-package-recovery
|
||||
path: recover-job-patch.yaml
|
||||
+25
@@ -0,0 +1,25 @@
|
||||
apiVersion: batch/v1
|
||||
kind: Job
|
||||
metadata:
|
||||
name: ql3-plugin-package-recovery
|
||||
namespace: qinglong3-system
|
||||
spec:
|
||||
template:
|
||||
spec:
|
||||
containers:
|
||||
- name: recovery
|
||||
env:
|
||||
- name: QL3_PLUGIN_PACKAGE_REGISTRY_CREDENTIAL_FILE
|
||||
value: /var/run/secrets/qinglong3/plugin-package-registry/credentials.json
|
||||
volumeMounts:
|
||||
- name: plugin-package-registry-credentials
|
||||
mountPath: /var/run/secrets/qinglong3/plugin-package-registry
|
||||
readOnly: true
|
||||
volumes:
|
||||
- name: plugin-package-registry-credentials
|
||||
secret:
|
||||
secretName: ql3-plugin-package-registry-credentials
|
||||
defaultMode: 288
|
||||
items:
|
||||
- key: credentials.json
|
||||
path: credentials.json
|
||||
Reference in New Issue
Block a user