Skip to content

Commit

Permalink
Debug deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
AnnaNarra committed Oct 18, 2024
1 parent 3ea8440 commit f2fc4ac
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions qlkube/deploy/qlkube/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,14 +57,14 @@ spec:
- name: configuration
mountPath: "{{ .Values.configuration.mountPath }}/{{ .Values.configuration.wrappers.fileName }}"
subPath: "{{ .Values.configuration.wrappers.fileName }}"
- name: harbor-token
- name: harborToken
mountPath: "/var/run/secrets/harbor_token.json"
subPath: "harbor_token.json"
volumes:
- name: configuration
configMap:
name: "{{ include "qlkube.fullname" . }}"
- name: harbor-token
- name: harborToken
secret:
secretName: {{ include "qlkube.fullname" . }}-harbor-token
affinity:
Expand Down
3 changes: 2 additions & 1 deletion qlkube/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,9 @@ async function main() {
'utf8'
)
);

console.log(harborToken.name);
const harborOas = await getOpenApiSpec(harborApiUrl, harborToken);
console.log(harborToken, harborOas);

let kubeSchema = await createSchema(targetOas, kubeApiUrl, inClusterToken);
let harborSchema = await createHarborSchema(
Expand Down

0 comments on commit f2fc4ac

Please sign in to comment.