mirror of
https://github.com/whyour/qinglong.git
synced 2026-09-23 12:05:27 +08:00
feat(ql3): add opt-in security administration job
This commit is contained in:
+22
@@ -0,0 +1,22 @@
|
||||
- op: add
|
||||
path: /spec/template/spec/initContainers/0/args/-
|
||||
value: --delivery-directory=/var/lib/qinglong3/security-administration-delivery/private
|
||||
- op: add
|
||||
path: /spec/template/spec/initContainers/0/volumeMounts/-
|
||||
value:
|
||||
name: credential-delivery
|
||||
mountPath: /var/lib/qinglong3/security-administration-delivery
|
||||
- op: add
|
||||
path: /spec/template/spec/containers/0/args/-
|
||||
value: --delivery=/var/lib/qinglong3/security-administration-delivery/private/replace-with-unique-delivery.json
|
||||
- op: add
|
||||
path: /spec/template/spec/containers/0/volumeMounts/-
|
||||
value:
|
||||
name: credential-delivery
|
||||
mountPath: /var/lib/qinglong3/security-administration-delivery
|
||||
- op: add
|
||||
path: /spec/template/spec/volumes/-
|
||||
value:
|
||||
name: credential-delivery
|
||||
persistentVolumeClaim:
|
||||
claimName: ql3-security-administration-delivery
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1alpha1
|
||||
kind: Component
|
||||
|
||||
patches:
|
||||
- path: job-patch.yaml
|
||||
target:
|
||||
group: batch
|
||||
version: v1
|
||||
kind: Job
|
||||
name: ql3-security-administration
|
||||
+13
@@ -0,0 +1,13 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
|
||||
resources:
|
||||
- ../base
|
||||
|
||||
components:
|
||||
- component
|
||||
|
||||
images:
|
||||
- name: qinglong3-cluster-admin
|
||||
newName: registry.example.com/qinglong/qinglong3-cluster-admin
|
||||
digest: sha256:0000000000000000000000000000000000000000000000000000000000000000
|
||||
Reference in New Issue
Block a user