Skip to content

Commit

Permalink
Fix agnosticv operator (#1078)
Browse files Browse the repository at this point in the history
  • Loading branch information
jkupferer authored Apr 11, 2023
1 parent f817c01 commit fd533d6
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions agnosticv-operator/helm/templates/agnosticvrepos.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,15 +31,17 @@ spec:
{{ end }}
{{ end }}
{{ end }}
{{ with $agnosticvRepo.gitHub.token }}
{{ with $agnosticvRepo.gitHub }}
{{ if .token }}
---
apiVersion: v1
kind: Secret
metadata:
name: {{ $agnosticvRepo.name }}-github
namespace: {{ include "babylonAgnosticVOperator.namespaceName" $ }}
data:
token: {{ . | b64enc }}
token: {{ .token | b64enc }}
{{ end }}
{{ end }}
{{ with $agnosticvRepo.sshKey }}
---
Expand Down

0 comments on commit fd533d6

Please sign in to comment.