-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Keystone RBAC integration and loadbalancer IP whitelisting
* Document how to setup keystone RBAC * Add IP whitelisting to loadbalancers
- Loading branch information
Travis Holton
committed
Oct 12, 2023
1 parent
b643ff3
commit 32c90d7
Showing
4 changed files
with
127 additions
and
0 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
33 changes: 33 additions & 0 deletions
33
charts/cluster-addons/templates/openstack/k8s-keystone-auth.yaml
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,33 @@ | ||
{{- if and .Values.openstack.enabled .Values.openstack.k8sKeystoneAuth.enabled }} | ||
--- | ||
apiVersion: v1 | ||
kind: Secret | ||
metadata: | ||
name: {{ include "cluster-addons.componentName" (list . "k8s-keystone-auth") }}-config | ||
labels: | ||
{{- include "cluster-addons.componentLabels" (list . "k8s-keystone-auth") | nindent 4 }} | ||
addons.stackhpc.com/watch: "" | ||
stringData: | ||
overrides: | | ||
{{- toYaml .Values.openstack.k8sKeystoneAuth.values | nindent 4 }} | ||
--- | ||
apiVersion: addons.stackhpc.com/v1alpha1 | ||
kind: HelmRelease | ||
metadata: | ||
name: {{ include "cluster-addons.componentName" (list . "k8s-keystone-auth") }} | ||
labels: {{ include "cluster-addons.componentLabels" (list . "k8s-keystone-auth") | nindent 4 }} | ||
annotations: | ||
# Tell Argo to ignore the non-controller owner references for this object | ||
argocd.argoproj.io/sync-options: "ControllerReferencesOnly=true" | ||
spec: | ||
clusterName: {{ include "cluster-addons.clusterName" . }} | ||
bootstrap: true | ||
chart: {{ toYaml .Values.openstack.k8sKeystoneAuth.chart | nindent 4 }} | ||
targetNamespace: {{ .Values.openstack.k8sKeystoneAuth.targetNamespace }} | ||
releaseName: k8s-keystone-auth | ||
valuesSources: | ||
- secret: | ||
name: {{ include "cluster-addons.componentName" (list . "k8s-keystone-auth") }}-config | ||
key: overrides | ||
{{- end }} |
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