Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix update function for gdscan pod #93

Open
azteckiesel opened this issue Jan 16, 2025 · 1 comment
Open

Fix update function for gdscan pod #93

azteckiesel opened this issue Jan 16, 2025 · 1 comment

Comments

@azteckiesel
Copy link

We encountered an issue where the update function was not working on our end. To resolve this, we made adjustments to two lines in the gdscan update.yaml file, including the removal of "/home/appuser" from the path. After these modifications, the update function is now operational for us. Could you please investigate why these changes were necessary?

Update Pod shows this error:

  • RESOURCE=deployment/gdscan
  • /app/get-latest-docker-tag ghcr.io/gdatasoftwareag/vaas/scanner 1
    2025/01/16 Creating /.docker
    2025/01/16 mkdir /.docker: permission denied
  • LATEST=

We resolved the issue by modifying lines 102 and 105 in the gdscan update.yaml file (removal of "/home/appuser"):

          volumeMounts:
            - name: docker
              mountPath: /.docker
              #mountPath: /home/appuser/.docker
            {{- range (include "gdscan.imagePullSecrets" . | fromYaml ).imagePullSecrets }}
            - name: {{ .name }}
              mountPath: "/.image_pull_secrets/{{ .name}}.json"
              #mountPath: "/home/appuser/.image_pull_secrets/{{ .name}}.json"
            {{- end }}
          resources:
            {{- toYaml .Values.gdscan.autoUpdate.resources | nindent 16 }}                
@pstadermann
Copy link
Contributor

Thanks for reporting the issue. We will into this in the next 2 weeks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants