-
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.
Authentication/Authorization webhook integration
* Set up webhook for k8s-keystone-auth and other plugins in the future
- Loading branch information
Travis Holton
committed
Nov 12, 2023
1 parent
9cf088f
commit ac9e6ac
Showing
8 changed files
with
165 additions
and
1 deletion.
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
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
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