mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-03-20 03:57:02 +08:00
communishift: Create k8s secret for the communishiftauthorization
operator Signed-off-by: David Kirwan <dkirwan@redhat.com> Signed-off-by: Lenka Segura <lsegura@redhat.com> Signed-off-by: Patrik Polakovic <ppolakov@redhat.com>
This commit is contained in:
@@ -32,6 +32,24 @@
|
||||
|
||||
|
||||
- name: Create the CommunishiftAuthorization operator k8s Secret
|
||||
community.okd.k8s:
|
||||
api_key: "{{ communishift_ocp_api_token }}"
|
||||
host: "{{ communishift_ocp_api_host }}"
|
||||
state: present
|
||||
definition:
|
||||
apiVersion: v1
|
||||
kind: Secret
|
||||
metadata:
|
||||
name: "communishift-authorization-operator-k8s-secret"
|
||||
namespace: "communishift-authorization-operator"
|
||||
data:
|
||||
communishift-ocp-api-token:
|
||||
"{{ communishift_ocp_api_token | b64encode }}"
|
||||
communishift-ocp-api-host:
|
||||
"{{ communishift_ocp_api_host | b64encode }}"
|
||||
|
||||
|
||||
- name: Create the CommunishiftAuthorization operator keytab k8s Secret
|
||||
community.okd.k8s:
|
||||
api_key: "{{ communishift_ocp_api_token }}"
|
||||
host: "{{ communishift_ocp_api_host }}"
|
||||
|
||||
Reference in New Issue
Block a user