Skip to content

Commit

Permalink
add secret mount to cjis
Browse files Browse the repository at this point in the history
  • Loading branch information
maskarb committed Jan 22, 2025
1 parent a461004 commit 8b2a85b
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 0 deletions.
22 changes: 22 additions & 0 deletions deploy/clowdapp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5644,6 +5644,17 @@ objects:
requests:
cpu: ${CPU_REQUEST_KOKU_MIGRATIONS}
memory: ${MEMORY_REQUEST_KOKU_MIGRATIONS}
volumeMounts:
- mountPath: /etc/aws
name: aws-credentials
readOnly: true
volumes:
- name: aws-credentials
secret:
items:
- key: aws-credentials
path: aws-credentials
secretName: koku-aws
- name: management-command-cji-${MGMT_IMAGE_TAG}-${MGMT_INVOCATION}
podSpec:
args:
Expand Down Expand Up @@ -5677,6 +5688,17 @@ objects:
requests:
cpu: ${CPU_REQUEST_KOKU_MGMT}
memory: ${MEMORY_REQUEST_KOKU_MGMT}
volumeMounts:
- mountPath: /etc/aws
name: aws-credentials
readOnly: true
volumes:
- name: aws-credentials
secret:
items:
- key: aws-credentials
path: aws-credentials
secretName: koku-aws
kafkaTopics:
- topicName: platform.sources.event-stream
- topicName: platform.upload.announce
Expand Down
22 changes: 22 additions & 0 deletions deploy/kustomize/base/base.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,17 @@ objects:
value: ${TENANT_MULTIPROCESSING_MAX_PROCESSES}
- name: TENANT_MULTIPROCESSING_CHUNKS
value: ${TENANT_MULTIPROCESSING_CHUNKS}
volumeMounts:
- mountPath: /etc/aws
name: aws-credentials
readOnly: true
volumes:
- name: aws-credentials
secret:
items:
- key: aws-credentials
path: aws-credentials
secretName: koku-aws
# ====================================================
# koku Management Command Job
# ====================================================
Expand Down Expand Up @@ -131,6 +142,17 @@ objects:
value: ${TRINO_HOST}
- name: TRINO_PORT
value: ${TRINO_PORT}
volumeMounts:
- mountPath: /etc/aws
name: aws-credentials
readOnly: true
volumes:
- name: aws-credentials
secret:
items:
- key: aws-credentials
path: aws-credentials
secretName: koku-aws
# The bulk of your App. This is where your running apps will live
deployments:
-
Expand Down

0 comments on commit 8b2a85b

Please sign in to comment.