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:
parent
2d90d4f673
commit
78e58efee1
1 changed files with 18 additions and 0 deletions
|
@ -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 }}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue