Skip to content

Commit

Permalink
Add preset for gardener logs (kyma-project#2641)
Browse files Browse the repository at this point in the history
  • Loading branch information
Adam Wałach authored Jul 28, 2020
1 parent f203ff4 commit aff9455
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
13 changes: 13 additions & 0 deletions prow/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,19 @@ presets:
volumeMounts:
- name: sa-kyma-artifacts
mountPath: /etc/credentials/sa-kyma-artifacts
- labels:
preset-sa-gardener-logs: "true"
env:
- name: SA_GARDENER_LOGS
value: /etc/credentials/sa-gardener-logs/service-account.json
volumes:
- name: sa-gardener-logs
secret:
secretName: sa-gardener-logs
volumeMounts:
- name: sa-gardener-logs
mountPath: /etc/credentials/sa-gardener-logs
readOnly: true
- labels:
preset-gardener-azure-kyma-integration: "true"
env:
Expand Down
13 changes: 13 additions & 0 deletions templates/templates/prow-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,19 @@ presets:
volumeMounts:
- name: sa-kyma-artifacts
mountPath: /etc/credentials/sa-kyma-artifacts
- labels:
preset-sa-gardener-logs: "true"
env:
- name: SA_GARDENER_LOGS
value: /etc/credentials/sa-gardener-logs/service-account.json
volumes:
- name: sa-gardener-logs
secret:
secretName: sa-gardener-logs
volumeMounts:
- name: sa-gardener-logs
mountPath: /etc/credentials/sa-gardener-logs
readOnly: true
- labels:
preset-gardener-azure-kyma-integration: "true"
env:
Expand Down

0 comments on commit aff9455

Please sign in to comment.