Image Update automation Error ' remote authentication required but no callback set ' #1656
-
|
Hi, |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 6 replies
-
|
Did you set the correct |
Beta Was this translation helpful? Give feedback.
-
|
Hello , flux create secret git hw-secret --url=https://gitlab.com/$GITLAB_USER/hw\ and refer to it in the source: |
Beta Was this translation helpful? Give feedback.
Hello ,
To use an other repository, it is necessary to create a secret
flux create secret git hw-secret --url=https://gitlab.com/$GITLAB_USER/hw\
--username=$GITLAB_USER --password=****
and refer to it in the source:
apiVersion: source.toolkit.fluxcd.io/v1beta1
kind: GitRepository
metadata:
name: hw
namespace: flux-system
spec:
interval: 30s
ref:
branch: main
url: https://gitlab.com/$GITLAB_USER/hw.git
secretRef:
name: hw-secret