diff --git a/deploy/crownlabs/values.yaml b/deploy/crownlabs/values.yaml index aa2f2c784..2dcb8cc0b 100644 --- a/deploy/crownlabs/values.yaml +++ b/deploy/crownlabs/values.yaml @@ -28,6 +28,7 @@ qlkube: rbacResourcesName: crownlabs-qlkube ingress: hostname: qlkube.crownlabs.example.com + harborToken: {} configuration: exposedAPIs: apis: diff --git a/qlkube/deploy/qlkube/templates/harbortoken.yaml b/qlkube/deploy/qlkube/templates/harbortoken.yaml new file mode 100644 index 000000000..6b8956b6b --- /dev/null +++ b/qlkube/deploy/qlkube/templates/harbortoken.yaml @@ -0,0 +1,10 @@ +apiVersion: v1 +kind: Secret +metadata: + name: {{ include "qlkube.fullname" . }}-harbor-token + labels: + {{- include "qlkube.labels" . | nindent 4 }} +type: Opaque +stringData: + harbor_token.json: | + {{ .Values.harborToken | toJson | ndent 4 }} diff --git a/qlkube/deploy/qlkube/values.yaml b/qlkube/deploy/qlkube/values.yaml index 22b24f999..cb79ad05f 100644 --- a/qlkube/deploy/qlkube/values.yaml +++ b/qlkube/deploy/qlkube/values.yaml @@ -91,3 +91,5 @@ resources: memory: 250Mi rbacResourcesName: crownlabs-qlkube + +harborToken: {}