Skip to content

Commit

Permalink
fix: correct values to fix argo sync
Browse files Browse the repository at this point in the history
Argo would not sync properly unless the appropriate values were defined for the secret - Known issue doc'ed under 'argoproj/argo-cd#11143'
  • Loading branch information
llajas committed Jul 22, 2023
1 parent 46d3ca1 commit 1c23e91
Show file tree
Hide file tree
Showing 7 changed files with 18 additions and 0 deletions.
6 changes: 6 additions & 0 deletions platform/dex/templates/secret.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,20 @@ spec:
# Connectors
- secretKey: GITEA_CLIENT_ID
remoteRef:
conversionStrategy: Default
decodingStrategy: None
key: /gitea/dex
property: client_id
- secretKey: GITEA_CLIENT_SECRET
remoteRef:
conversionStrategy: Default
decodingStrategy: None
key: /gitea/dex
property: client_secret
# Clients
- secretKey: GRAFANA_SSO_CLIENT_SECRET
remoteRef:
conversionStrategy: Default
decodingStrategy: None
key: /dex/grafana
property: client_secret
2 changes: 2 additions & 0 deletions platform/gitea/templates/admin-secret.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,7 @@ spec:
data:
- secretKey: password
remoteRef:
conversionStrategy: Default
decodingStrategy: None
key: /gitea/admin
property: password
2 changes: 2 additions & 0 deletions platform/gitea/templates/webhook-secret.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,7 @@ spec:
data:
- secretKey: token
remoteRef:
conversionStrategy: Default
decodingStrategy: None
key: /tekton/webhook
property: token
2 changes: 2 additions & 0 deletions platform/grafana/templates/secret.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,7 @@ spec:
data:
- secretKey: GRAFANA_SSO_CLIENT_SECRET
remoteRef:
conversionStrategy: Default
decodingStrategy: None
key: /dex/grafana
property: client_secret
2 changes: 2 additions & 0 deletions platform/registry/templates/admin-secret.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,7 @@ spec:
data:
- secretKey: password
remoteRef:
conversionStrategy: Default
decodingStrategy: None
key: /registry/admin
property: password
2 changes: 2 additions & 0 deletions platform/renovate/templates/secret.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,7 @@ spec:
data:
- secretKey: token
remoteRef:
conversionStrategy: Default
decodingStrategy: None
key: /gitea/renovate
property: token
2 changes: 2 additions & 0 deletions platform/tekton-pipelines/workflows/webhook-secret.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,7 @@ spec:
data:
- secretKey: token
remoteRef:
conversionStrategy: Default
decodingStrategy: None
key: /tekton/webhook
property: token

0 comments on commit 1c23e91

Please sign in to comment.