-
Notifications
You must be signed in to change notification settings - Fork 247
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix issue with external secret Vector logging (#5152)
- Loading branch information
Showing
5 changed files
with
38 additions
and
30 deletions.
There are no files selected for viewing
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 |
---|---|---|
|
@@ -3,3 +3,4 @@ kind: Kustomization | |
resources: | ||
- openshift-pipelines | ||
- tekton-results | ||
- tekton-logging |
5 changes: 5 additions & 0 deletions
5
components/pipeline-service/base/external-secrets/tekton-logging/kustomization.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,5 @@ | ||
apiVersion: kustomize.config.k8s.io/v1beta1 | ||
kind: Kustomization | ||
resources: | ||
- tekton-results-s3.yaml | ||
namespace: tekton-logging |
27 changes: 27 additions & 0 deletions
27
components/pipeline-service/base/external-secrets/tekton-logging/tekton-results-s3.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,27 @@ | ||
apiVersion: external-secrets.io/v1beta1 | ||
kind: ExternalSecret | ||
metadata: | ||
name: tekton-results-s3 | ||
annotations: | ||
argocd.argoproj.io/sync-options: SkipDryRunOnMissingResource=true | ||
argocd.argoproj.io/sync-wave: "-1" | ||
spec: | ||
dataFrom: | ||
- extract: | ||
key: "" # will be added by the overlays | ||
refreshInterval: 1h | ||
secretStoreRef: | ||
kind: ClusterSecretStore | ||
name: appsre-vault | ||
target: | ||
creationPolicy: Owner | ||
deletionPolicy: Delete | ||
name: tekton-results-s3 | ||
template: | ||
data: | ||
aws_access_key_id: "{{ .aws_access_key_id }}" | ||
aws_secret_access_key: "{{ .aws_secret_access_key }}" | ||
aws_region: "{{ .aws_region }}" | ||
bucket: "{{ .bucket }}" | ||
endpoint: "https://{{ .endpoint }}" | ||
s3_url: "s3://{{ .bucket }}" |
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
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