message-tagging-service: Add Kerberos keytab
This commit is contained in:
parent
863d106f28
commit
cdda307297
2 changed files with 15 additions and 2 deletions
|
@ -13,6 +13,12 @@
|
||||||
roles:
|
roles:
|
||||||
- openshift/project
|
- openshift/project
|
||||||
|
|
||||||
|
- role: openshift/keytab
|
||||||
|
secret_name: keytab
|
||||||
|
key: krb5.keytab
|
||||||
|
service: message-tagging-service
|
||||||
|
host: "message-tagging-service{{ env_suffix }}.fedoraproject.org"
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- name: Apply objects
|
- name: Apply objects
|
||||||
include_role: name=openshift/object
|
include_role: name=openshift/object
|
||||||
|
|
|
@ -21,10 +21,14 @@ spec:
|
||||||
image: quay.io/factory2/message-tagging-service:{{quay_tag}}
|
image: quay.io/factory2/message-tagging-service:{{quay_tag}}
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 8080
|
- containerPort: 8080
|
||||||
# volumeMounts:
|
volumeMounts:
|
||||||
# - name: config
|
# - name: config
|
||||||
# mountPath: /etc/mts
|
# mountPath: /etc/mts
|
||||||
# readOnly: true
|
# readOnly: true
|
||||||
|
- name: keytab
|
||||||
|
mountPath: /etc/krb5.keytab
|
||||||
|
subPath: krb5.keytab
|
||||||
|
readOnly: true
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
cpu: 500m
|
cpu: 500m
|
||||||
|
@ -44,7 +48,10 @@ spec:
|
||||||
httpGet:
|
httpGet:
|
||||||
path: /
|
path: /
|
||||||
port: 8080
|
port: 8080
|
||||||
# volumes:
|
volumes:
|
||||||
# - name: config
|
# - name: config
|
||||||
# secret:
|
# secret:
|
||||||
# secretName: mts-config
|
# secretName: mts-config
|
||||||
|
- name: keytab
|
||||||
|
secret:
|
||||||
|
secretName: keytab
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue