Skip to content

Commit

Permalink
Revert "Merge pull request #41 from lookit/add-s3-env-vars-staging"
Browse files Browse the repository at this point in the history
This reverts commit ad0d18f, reversing
changes made to a9d8926.
  • Loading branch information
becky-gilbert committed Jun 5, 2023
1 parent ad0d18f commit 918ad4d
Show file tree
Hide file tree
Showing 9 changed files with 3 additions and 100 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -392,46 +392,6 @@
key: PIPE_WEBHOOK_KEY
name: lookit-secrets

- op: add
path: /spec/template/spec/containers/1/env/-
value:
name: S3_REGION
valueFrom:
secretKeyRef:
key: S3_REGION
name: lookit-secrets
optional: true

- op: add
path: /spec/template/spec/containers/1/env/-
value:
name: S3_ACCESS_KEY_ID
valueFrom:
secretKeyRef:
key: S3_ACCESS_KEY_ID
name: lookit-secrets
optional: true

- op: add
path: /spec/template/spec/containers/1/env/-
value:
name: S3_SECRET_ACCESS_KEY
valueFrom:
secretKeyRef:
key: S3_SECRET_ACCESS_KEY
name: lookit-secrets
optional: true

- op: add
path: /spec/template/spec/containers/1/env/-
value:
name: S3_BUCKET
valueFrom:
secretKeyRef:
key: S3_BUCKET
name: lookit-secrets
optional: true

- op: add
path: /spec/template/spec/containers/1/env/-
value:
Expand Down
39 changes: 3 additions & 36 deletions kubernetes/lookit/base/patches_/add-lookit-env-vars.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -392,45 +392,12 @@
key: PIPE_WEBHOOK_KEY
name: lookit-secrets

- op: add
path: /spec/template/spec/containers/0/env/-
value:
name: S3_REGION
valueFrom:
secretKeyRef:
key: S3_REGION
name: lookit-secrets
optional: true

- op: add
path: /spec/template/spec/containers/0/env/-
value:
name: S3_ACCESS_KEY_ID
valueFrom:
secretKeyRef:
key: S3_ACCESS_KEY_ID
name: lookit-secrets
optional: true

- op: add
path: /spec/template/spec/containers/0/env/-
value:
name: S3_SECRET_ACCESS_KEY
valueFrom:
secretKeyRef:
key: S3_SECRET_ACCESS_KEY
name: lookit-secrets
optional: true

- op: add
path: /spec/template/spec/containers/0/env/-
value:
name: S3_BUCKET
valueFrom:
secretKeyRef:
key: S3_BUCKET
name: lookit-secrets
optional: true




- op: add
path: /spec/template/spec/containers/0/env/-
Expand Down
24 changes: 0 additions & 24 deletions kubernetes/lookit/base/patches_/replace-lookit-env-vars.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -209,30 +209,6 @@
secretKeyRef:
key: PIPE_WEBHOOK_KEY
name: lookit-secrets
- name: S3_REGION
valueFrom:
secretKeyRef:
key: S3_REGION
name: lookit-secrets
optional: true
- name: S3_ACCESS_KEY_ID
valueFrom:
secretKeyRef:
key: S3_ACCESS_KEY_ID
name: lookit-secrets
optional: true
- name: S3_SECRET_ACCESS_KEY
valueFrom:
secretKeyRef:
key: S3_SECRET_ACCESS_KEY
name: lookit-secrets
optional: true
- name: S3_BUCKET
valueFrom:
secretKeyRef:
key: S3_BUCKET
name: lookit-secrets
optional: true
- name: SECRET_KEY
valueFrom:
secretKeyRef:
Expand Down
Binary file not shown.
Binary file not shown.
Binary file modified kubernetes/lookit/environments/production/lookit-secrets.env.enc
Binary file not shown.
Binary file not shown.
Binary file modified kubernetes/lookit/environments/staging/googleAppCreds.json.enc
Binary file not shown.
Binary file modified kubernetes/lookit/environments/staging/lookit-secrets.env.enc
Binary file not shown.

0 comments on commit 918ad4d

Please sign in to comment.