diff --git a/charts/apps/argoapps/templates/compose-apps.yaml b/charts/apps/argoapps/templates/compose-apps.yaml index 705e1ae..5628a65 100644 --- a/charts/apps/argoapps/templates/compose-apps.yaml +++ b/charts/apps/argoapps/templates/compose-apps.yaml @@ -11,7 +11,7 @@ spec: project: main source: path: 'charts/compose-app' - repoURL: git@github.com:{{ $.Values.gitops.repo }}.git + repoURL: {{ $.Values.gitops.repo }} targetRevision: {{ $.Values.gitops.revision }} helm: values: |- diff --git a/charts/infrastructure/templates/argocd-appset.yml b/charts/infrastructure/templates/argocd-appset.yml index d1bf77e..0383887 100644 --- a/charts/infrastructure/templates/argocd-appset.yml +++ b/charts/infrastructure/templates/argocd-appset.yml @@ -9,7 +9,7 @@ spec: - git: directories: - path: charts/apps/* - repoURL: git@github.com:{{ .Values.gitops.repo }}.git + repoURL: {{ .Values.gitops.repo }} revision: "{{ .Values.gitops.revision }}" template: metadata: {} @@ -30,7 +30,7 @@ spec: revisionHistoryLimit: 4 source: path: '{{`{{path}}`}}' - repoURL: git@github.com:{{ .Values.gitops.repo }}.git + repoURL: {{ .Values.gitops.repo }} targetRevision: "{{ .Values.gitops.revision }}" helm: valueFiles: diff --git a/charts/infrastructure/templates/argocd-repo.yaml b/charts/infrastructure/templates/argocd-repo.yaml index f5705a0..395100e 100644 --- a/charts/infrastructure/templates/argocd-repo.yaml +++ b/charts/infrastructure/templates/argocd-repo.yaml @@ -11,6 +11,6 @@ stringData: name: homelab type: git username: git - url: git@github.com:{{ .Values.gitops.repo }}.git + url: {{ .Values.gitops.repo }} data: - sshPrivateKey: "{{ .Values.gitops.sshkey | b64enc }}" \ No newline at end of file + sshPrivateKey: "{{ .Values.gitops.sshkey | b64enc }}"