-
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.
Add configuration for keystone webhook
* Add components to add keystone webhook to apiserver * Add api arguments for webhook authN/authZ and patch file * Created keystone webhook patch * Add k8s-keystone-auth addon configuration * Pass values as overrides
- Loading branch information
Travis Holton
committed
Oct 1, 2023
1 parent
5996f85
commit 06008a0
Showing
6 changed files
with
124 additions
and
0 deletions.
There are no files selected for viewing
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