Skip to content

Commit

Permalink
Fix config
Browse files Browse the repository at this point in the history
fix
  • Loading branch information
AnnaNarra committed Sep 18, 2024
1 parent 9561c90 commit 5a16552
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ jobs:
- name: Setup nodeJS
uses: actions/setup-node@v4
with:
node-version: 14
node-version: 18

- name: Install the packages necessary for lint checking
working-directory: ./qlkube
Expand Down
4 changes: 2 additions & 2 deletions qlkube/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:16.3-alpine
FROM node:18-alpine

RUN mkdir --parent /qlkube
RUN chown node:node /qlkube && chmod 770 /qlkube
Expand All @@ -13,6 +13,6 @@ RUN yarn install --production=true --frozen-lockfile

COPY src/*.js ./src/

ENV NODE_EXTRA_CA_CERTS /var/run/secrets/kubernetes.io/serviceaccount/ca.crt
ENV NODE_EXTRA_CA_CERTS=/var/run/secrets/kubernetes.io/serviceaccount/ca.crt

ENTRYPOINT [ "yarn", "start" ]
10 changes: 10 additions & 0 deletions qlkube/deploy/qlkube/templates/secret-harbor.yaml
Original file line number Diff line number Diff line change
@@ -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 | nindent 4 }}

0 comments on commit 5a16552

Please sign in to comment.