Ceph-RGW code cleanup
Currently both 'deployment:rgw_keystone_user_and_endpoints` and 'conf: rgw_ks' are used and set to true to deploy ceph-rgw with keystone integration. Going forward, we should only use `conf: rgw_ks: enabled: true` to deploy ceph-rgw with keystone integration. Change-Id: I17aecd4f977ed897bb0771edc9acafd4479777d1
This commit is contained in:
parent
73a360f19a
commit
3552406832
@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
*/}}
|
||||
|
||||
{{- if and .Values.manifests.configmap_bin_ks .Values.deployment.rgw_keystone_user_and_endpoints }}
|
||||
{{- if and .Values.manifests.configmap_bin_ks .Values.conf.rgw_ks.enabled }}
|
||||
{{- $envAll := . }}
|
||||
---
|
||||
apiVersion: v1
|
||||
|
@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
*/}}
|
||||
|
||||
{{- if and .Values.manifests.job_ks_endpoints .Values.deployment.rgw_keystone_user_and_endpoints }}
|
||||
{{- if and .Values.manifests.job_ks_endpoints .Values.conf.rgw_ks.enabled }}
|
||||
{{- $ksServiceJob := dict "envAll" . "configMapBin" "ceph-rgw-bin-ks" "serviceName" "ceph" "serviceTypes" ( tuple "object-store" ) -}}
|
||||
{{ $ksServiceJob | include "helm-toolkit.manifests.job_ks_endpoints" }}
|
||||
{{- end }}
|
||||
|
@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
*/}}
|
||||
|
||||
{{- if and .Values.manifests.job_ks_service .Values.deployment.rgw_keystone_user_and_endpoints }}
|
||||
{{- if and .Values.manifests.job_ks_service .Values.conf.rgw_ks.enabled }}
|
||||
{{- $ksServiceJob := dict "envAll" . "configMapBin" "ceph-rgw-bin-ks" "serviceName" "ceph" "serviceTypes" ( tuple "object-store" ) -}}
|
||||
{{ $ksServiceJob | include "helm-toolkit.manifests.job_ks_service" }}
|
||||
{{- end }}
|
||||
|
@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
*/}}
|
||||
|
||||
{{- if and .Values.manifests.job_ks_user .Values.deployment.rgw_keystone_user_and_endpoints }}
|
||||
{{- if and .Values.manifests.job_ks_user .Values.conf.rgw_ks.enabled }}
|
||||
{{- $ksUserJob := dict "envAll" . "configMapBin" "ceph-rgw-bin-ks" "serviceName" "ceph" "serviceUser" "swift" -}}
|
||||
{{ $ksUserJob | include "helm-toolkit.manifests.job_ks_user" }}
|
||||
{{- end }}
|
||||
|
@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
*/}}
|
||||
|
||||
{{- if and .Values.manifests.secret_keystone .Values.deployment.rgw_keystone_user_and_endpoints }}
|
||||
{{- if and .Values.manifests.secret_keystone .Values.conf.rgw_ks.enabled }}
|
||||
{{- $envAll := . }}
|
||||
{{- range $key1, $userClass := tuple "admin" "swift" }}
|
||||
{{- $secretName := index $envAll.Values.secrets.identity $userClass }}
|
||||
|
@ -19,7 +19,6 @@
|
||||
|
||||
deployment:
|
||||
ceph: false
|
||||
rgw_keystone_user_and_endpoints: false
|
||||
|
||||
release_group: null
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user