Skip to content

Commit

Permalink
Fix Vector secret name (#5004)
Browse files Browse the repository at this point in the history
This fixes the secret name used by Vector. It also unifies the names
used in staging and development (CI).
  • Loading branch information
enarha authored Nov 28, 2024
1 parent 8896202 commit 66214a8
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 21 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2005,27 +2005,27 @@ spec:
- name: AWS_ACCESS_KEY_ID
valueFrom:
secretKeyRef:
name: s3-conf
name: tekton-results-s3
key: aws_access_key_id
- name: AWS_SECRET_ACCESS_KEY
valueFrom:
secretKeyRef:
name: s3-conf
name: tekton-results-s3
key: aws_secret_access_key
- name: AWS_DEFAULT_REGION
valueFrom:
secretKeyRef:
name: s3-conf
name: tekton-results-s3
key: aws_region
- name: BUCKET
valueFrom:
secretKeyRef:
name: s3-conf
name: tekton-results-s3
key: bucket
- name: ENDPOINT
valueFrom:
secretKeyRef:
name: s3-conf
name: tekton-results-s3
key: endpoint
tolerations:
- effect: NoSchedule
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1957,27 +1957,27 @@ spec:
- name: AWS_ACCESS_KEY_ID
valueFrom:
secretKeyRef:
name: s3-conf
name: tekton-results-s3
key: aws_access_key_id
- name: AWS_SECRET_ACCESS_KEY
valueFrom:
secretKeyRef:
name: s3-conf
name: tekton-results-s3
key: aws_secret_access_key
- name: AWS_DEFAULT_REGION
valueFrom:
secretKeyRef:
name: s3-conf
name: tekton-results-s3
key: aws_region
- name: BUCKET
valueFrom:
secretKeyRef:
name: s3-conf
name: tekton-results-s3
key: bucket
- name: ENDPOINT
valueFrom:
secretKeyRef:
name: s3-conf
name: tekton-results-s3
key: endpoint
tolerations:
- effect: NoSchedule
Expand Down
10 changes: 5 additions & 5 deletions components/pipeline-service/staging/stone-stage-p01/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1946,27 +1946,27 @@ spec:
- name: AWS_ACCESS_KEY_ID
valueFrom:
secretKeyRef:
name: s3-conf
name: tekton-results-s3
key: aws_access_key_id
- name: AWS_SECRET_ACCESS_KEY
valueFrom:
secretKeyRef:
name: s3-conf
name: tekton-results-s3
key: aws_secret_access_key
- name: AWS_DEFAULT_REGION
valueFrom:
secretKeyRef:
name: s3-conf
name: tekton-results-s3
key: aws_region
- name: BUCKET
valueFrom:
secretKeyRef:
name: s3-conf
name: tekton-results-s3
key: bucket
- name: ENDPOINT
valueFrom:
secretKeyRef:
name: s3-conf
name: tekton-results-s3
key: endpoint
tolerations:
- effect: NoSchedule
Expand Down
10 changes: 5 additions & 5 deletions components/pipeline-service/staging/stone-stg-rh01/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1946,27 +1946,27 @@ spec:
- name: AWS_ACCESS_KEY_ID
valueFrom:
secretKeyRef:
name: s3-conf
name: tekton-results-s3
key: aws_access_key_id
- name: AWS_SECRET_ACCESS_KEY
valueFrom:
secretKeyRef:
name: s3-conf
name: tekton-results-s3
key: aws_secret_access_key
- name: AWS_DEFAULT_REGION
valueFrom:
secretKeyRef:
name: s3-conf
name: tekton-results-s3
key: aws_region
- name: BUCKET
valueFrom:
secretKeyRef:
name: s3-conf
name: tekton-results-s3
key: bucket
- name: ENDPOINT
valueFrom:
secretKeyRef:
name: s3-conf
name: tekton-results-s3
key: endpoint
tolerations:
- effect: NoSchedule
Expand Down
2 changes: 1 addition & 1 deletion hack/secret-creator/create-plnsvc-secrets.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ main() {
create_namespace tekton-logging
create_db_secret
create_s3_secret tekton-results tekton-results-s3
create_s3_secret tekton-logging s3-conf
create_s3_secret tekton-logging tekton-results-s3
create_db_cert_secret_and_configmap
if ! [ -x "$(command -v mc)" ]; then
curl https://dl.min.io/client/mc/release/linux-amd64/mc \
Expand Down

0 comments on commit 66214a8

Please sign in to comment.