Skip to content

Commit

Permalink
fix yamls tabs (#189)
Browse files Browse the repository at this point in the history
Signed-off-by: 6za <53096417+6za@users.noreply.github.com>
  • Loading branch information
6za committed Aug 4, 2022
1 parent 944465f commit b678ff3
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions internal/gitlab/gitlab.go
Original file line number Diff line number Diff line change
Expand Up @@ -402,9 +402,9 @@ func ChangeRegistryToGitLab(dryRun bool) {
c, err := template.New("creds-gitlab").Parse(`
apiVersion: v1
data:
password: {{ .PersonalAccessToken }}
url: {{ .URL }}
username: cm9vdA==
password: {{ .PersonalAccessToken }}
url: {{ .URL }}
username: cm9vdA==
kind: Secret
metadata:
annotations:
Expand Down Expand Up @@ -435,9 +435,9 @@ func ChangeRegistryToGitLab(dryRun bool) {
c, err = template.New("repo-gitlab").Parse(`
apiVersion: v1
data:
project: ZGVmYXVsdA==
type: Z2l0
url: {{ .FullURL }}
project: ZGVmYXVsdA==
type: Z2l0
url: {{ .FullURL }}
kind: Secret
metadata:
annotations:
Expand Down

0 comments on commit b678ff3

Please sign in to comment.