message-tagging-service: use fedora-infra krb5.conf template and install koji conf into proper place
Signed-off-by: Chenxiong Qi <cqi@redhat.com>
This commit is contained in:
parent
06b6b5b76d
commit
7358fd1f06
2 changed files with 14 additions and 25 deletions
|
@ -130,26 +130,8 @@ data:
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: ConfigMap
|
kind: ConfigMap
|
||||||
metadata:
|
metadata:
|
||||||
name: "fedoraproject-kerberos-auth-config"
|
name: "krb5-conf"
|
||||||
labels:
|
labels:
|
||||||
app: "mts"
|
app: "mts"
|
||||||
data:
|
data:
|
||||||
{% if env == 'staging' %}
|
{{ lookup('template', roles_path + '/base/templates/krb5.conf.j2') | indent }}
|
||||||
stg_fedoraproject_org: |-
|
|
||||||
[realms]
|
|
||||||
STG.FEDORAPROJECT.ORG = {
|
|
||||||
kdc = https://id.stg.fedoraproject.org/KdcProxy
|
|
||||||
}
|
|
||||||
[domain_realm]
|
|
||||||
.stg.fedoraproject.org = STG.FEDORAPROJECT.ORG
|
|
||||||
stg.fedoraproject.org = STG.FEDORAPROJECT.ORG
|
|
||||||
{% else %}
|
|
||||||
fedoraproject_org: |-
|
|
||||||
[realms]
|
|
||||||
FEDORAPROJECT.ORG = {
|
|
||||||
kdc = https://id.fedoraproject.org/KdcProxy
|
|
||||||
}
|
|
||||||
[domain_realm]
|
|
||||||
.fedoraproject.org = FEDORAPROJECT.ORG
|
|
||||||
fedoraproject.org = FEDORAPROJECT.ORG
|
|
||||||
{% endif %}
|
|
||||||
|
|
|
@ -29,10 +29,17 @@ spec:
|
||||||
mountPath: /etc/fedmsg.d
|
mountPath: /etc/fedmsg.d
|
||||||
readOnly: true
|
readOnly: true
|
||||||
- name: "koji-conf"
|
- name: "koji-conf"
|
||||||
mountPath: /etc/koji.conf.d
|
{% if env == 'staging' %}
|
||||||
|
mountPath: /etc/koji.conf.d/stg.conf
|
||||||
|
subPath: stg.conf
|
||||||
|
{% else %}
|
||||||
|
mountPath: /etc/koji.conf
|
||||||
|
subPath: koji.conf
|
||||||
|
{% endif %}
|
||||||
readOnly: true
|
readOnly: true
|
||||||
- name: "fedoraproject-kerberos-auth-config"
|
- name: "krb5-conf"
|
||||||
mountPath: /etc/krb5.conf.d/
|
mountPath: /etc/krb5.conf
|
||||||
|
subPath: krb5.conf
|
||||||
readOnly: true
|
readOnly: true
|
||||||
- name: keytab
|
- name: keytab
|
||||||
mountPath: /etc/krb5.keytab
|
mountPath: /etc/krb5.keytab
|
||||||
|
@ -67,9 +74,9 @@ spec:
|
||||||
- name: "koji-conf"
|
- name: "koji-conf"
|
||||||
configMap:
|
configMap:
|
||||||
name: "koji-conf"
|
name: "koji-conf"
|
||||||
- name: "fedoraproject-kerberos-auth-config"
|
- name: "krb5-conf"
|
||||||
configMap:
|
configMap:
|
||||||
name: "fedoraproject-kerberos-auth-config"
|
name: "krb5-conf"
|
||||||
- name: keytab
|
- name: keytab
|
||||||
secret:
|
secret:
|
||||||
secretName: keytab
|
secretName: keytab
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue