Skip to content

Commit

Permalink
Adjust packit-config volume in packit-worker (#587)
Browse files Browse the repository at this point in the history
Add the configuration needed for OpenScanHub integration and adjust the
packit-config volume so that the config is being mounted in the
subdirectory along the existing secrets.

Followup of packit/packit-service#2463

This now runs on staging and works.
  • Loading branch information
mfocko authored Jul 29, 2024
2 parents c7ab10e + e845e7b commit c46a5c4
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion openshift/packit-worker.yml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,15 @@ spec:
- name: packit-secrets
secret: {secretName: packit-secrets}
- name: packit-config
secret: {secretName: packit-config}
projected:
sources:
- secret:
name: packit-config
- configMap:
name: osh-config
items:
- key: client.conf
path: osh/client.conf
{% if with_fluentd_sidecar %}
- name: fluentd-config
configMap: {name: fluentd-config}
Expand Down Expand Up @@ -190,3 +198,12 @@ spec:
lookupPolicy:
# allows all resources pointing to this image stream to use it in the image field
local: true
---
kind: ConfigMap
apiVersion: v1
metadata:
name: osh-config
data:
client.conf: |
[General]
defaultmockconfig =

0 comments on commit c46a5c4

Please sign in to comment.