This repository has been archived by the owner on Mar 1, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #30 from vmware-tanzu-labs/develop
v1.4.2
- Loading branch information
Showing
9 changed files
with
68 additions
and
51 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,2 @@ | ||
# Copyright 2006-2021 VMware, Inc. | ||
# SPDX-License-Identifier: MIT | ||
--- | ||
# | ||
# DNS | ||
# | ||
- name: "get the ingress ip" | ||
import_role: | ||
name: "common/ingress-ip" | ||
|
||
- name: "ensure dns resolvability for identity module" | ||
include_role: | ||
name: "common/etc-hosts" | ||
vars: | ||
ip: "{{ ingress_ip }}" | ||
fqdn: "{{ item }}" | ||
with_items: | ||
- "{{ tanzu_identity.dex.dns }}" | ||
- "{{ tanzu_identity.gangway.dns }}" | ||
|
||
# | ||
# RETRIEVE CLUSTER INFO | ||
# | ||
- name: "retrieve cluster info" | ||
import_role: | ||
name: "common/cluster-info" | ||
when: tanzu_apiserver_url is not defined |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 0 additions & 13 deletions
13
roles/components/core/identity/templates/config-ldap.yaml.j2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 15 additions & 0 deletions
15
roles/components/core/identity/templates/rbac-ldap.yaml.j2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# Copyright 2006-2021 VMware, Inc. | ||
# SPDX-License-Identifier: MIT | ||
--- | ||
apiVersion: rbac.authorization.k8s.io/v1beta1 | ||
kind: ClusterRoleBinding | ||
metadata: | ||
name: tanzu-admin | ||
namespace: {{ tanzu_identity.namespace }} | ||
roleRef: | ||
apiGroup: rbac.authorization.k8s.io | ||
kind: ClusterRole | ||
name: cluster-admin | ||
subjects: | ||
- kind: User | ||
name: {{ tanzu_identity.ldap.admin_user }} |