-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "remove tekton results migrator"
This reverts commit 11c468b.
- Loading branch information
1 parent
94434ae
commit dfb5828
Showing
2 changed files
with
51 additions
and
3 deletions.
There are no files selected for viewing
44 changes: 44 additions & 0 deletions
44
operator/gitops/argocd/pipeline-service/tekton-results/api-migrator-config.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
--- | ||
apiVersion: apps/v1 | ||
kind: Deployment | ||
metadata: | ||
name: tekton-results-api | ||
annotations: | ||
argocd.argoproj.io/sync-wave: "0" | ||
spec: | ||
template: | ||
spec: | ||
initContainers: | ||
- name: migrator | ||
env: | ||
- name: DB_USER | ||
valueFrom: | ||
secretKeyRef: | ||
name: tekton-results-database | ||
key: db.user | ||
- name: DB_PASSWORD | ||
valueFrom: | ||
secretKeyRef: | ||
name: tekton-results-database | ||
key: db.password | ||
- name: DB_HOST | ||
value: | ||
valueFrom: | ||
secretKeyRef: | ||
name: tekton-results-database | ||
key: db.host | ||
- name: DB_NAME | ||
value: | ||
valueFrom: | ||
secretKeyRef: | ||
name: tekton-results-database | ||
key: db.name | ||
resources: | ||
requests: | ||
cpu: 5m | ||
memory: 32Mi | ||
limits: | ||
cpu: 100m | ||
memory: 128Mi | ||
securityContext: | ||
readOnlyRootFilesystem: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters