maubot: get a keytab
Signed-off-by: Ryan Lerch <rlerch@redhat.com>
This commit is contained in:
parent
aaec95b064
commit
fb937906cd
3 changed files with 14 additions and 1 deletions
|
@ -16,6 +16,13 @@
|
||||||
- ryanlerch
|
- ryanlerch
|
||||||
- kevin
|
- kevin
|
||||||
|
|
||||||
|
- role: openshift/keytab
|
||||||
|
app: maubot
|
||||||
|
key: service.keytab
|
||||||
|
secret_name: maubot-keytab
|
||||||
|
service: HTTP
|
||||||
|
host: "maubot.apps.ocp{{env_suffix}}.fedoraproject.org"
|
||||||
|
|
||||||
- role: openshift/object
|
- role: openshift/object
|
||||||
app: maubot
|
app: maubot
|
||||||
file: imagestream.yml
|
file: imagestream.yml
|
||||||
|
|
|
@ -37,6 +37,9 @@ spec:
|
||||||
readOnly: true
|
readOnly: true
|
||||||
- name: maubot-storage
|
- name: maubot-storage
|
||||||
mountPath: /maubot
|
mountPath: /maubot
|
||||||
|
- name: keytab-volume
|
||||||
|
mountPath: /etc/keytabs
|
||||||
|
readOnly: true
|
||||||
readinessProbe:
|
readinessProbe:
|
||||||
timeoutSeconds: 1
|
timeoutSeconds: 1
|
||||||
initialDelaySeconds: 5
|
initialDelaySeconds: 5
|
||||||
|
@ -56,6 +59,9 @@ spec:
|
||||||
- name: maubot-storage
|
- name: maubot-storage
|
||||||
persistentVolumeClaim:
|
persistentVolumeClaim:
|
||||||
claimName: maubot-storage
|
claimName: maubot-storage
|
||||||
|
- name: keytab-volume
|
||||||
|
secret:
|
||||||
|
secretName: maubot-keytab
|
||||||
triggers:
|
triggers:
|
||||||
- type: ImageChange
|
- type: ImageChange
|
||||||
imageChangeParams:
|
imageChangeParams:
|
||||||
|
|
|
@ -12,7 +12,7 @@ spec:
|
||||||
source:
|
source:
|
||||||
dockerfile: |-
|
dockerfile: |-
|
||||||
FROM fedora:38
|
FROM fedora:38
|
||||||
RUN dnf -y install python3-pip && dnf -y clean all
|
RUN dnf -y install python3-pip fasjson-client && dnf -y clean all
|
||||||
RUN pip install maubot[encryption]
|
RUN pip install maubot[encryption]
|
||||||
WORKDIR /maubot
|
WORKDIR /maubot
|
||||||
ENTRYPOINT /usr/bin/python3 -m maubot -c /config/config.yml
|
ENTRYPOINT /usr/bin/python3 -m maubot -c /config/config.yml
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue