Commit b2420eeb authored by Waqar Ahmed's avatar Waqar Ahmed

Add configmap retrieving configured scheme

parent f34d4be8
...@@ -11,7 +11,7 @@ groups: ...@@ -11,7 +11,7 @@ groups:
portals: portals:
web_portal: web_portal:
protocols: protocols:
- "http" - "$kubernetes-resource_configmap_minio-config_protocol"
host: host:
- "$node_ip" - "$node_ip"
ports: ports:
......
{{ $scheme := "http" }}
{{ if eq (include "minio.certAvailable" .) "true" }}
{{ $scheme = "https" }}
{{ end }}
apiVersion: v1
kind: ConfigMap
metadata:
name: minio-config
data:
protocol: {{ $scheme }}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment