Commit fb44c9c4 authored by Kevin Di Lallo's avatar Kevin Di Lallo
Browse files

moved session key & ssl-redirect configuration to repo deployment config file

parent 81ab35a6
Loading
Loading
Loading
Loading
+21 −0
Original line number Diff line number Diff line
@@ -32,6 +32,8 @@ repo:
    ingress:
      # host name
      host: my-advantedge.com
      # enable https only (redirect http requests to https port)
      https-only: true
      # bind to host ports (true) or node ports (false)
      host-ports: true
      # http port number
@@ -43,6 +45,25 @@ repo:
      # lets-encrypt production server (true) or staging server (false)
      le-server-prod: false
      
    auth:
      # session encryption key
      session-key: my-secret-key
      # OAuth redirect URI
      redirect-uri: https://my-platform-fqdn/platform-ctrl/v1/authorize
      # Github OAuth configuration
      github:
        # Client app identifier
        client-id: my-client-id
        # Oatuh app secret
        secret: my-secret
      # Gitlab OAuth configuration
      gitlab:
        # Client app identifier
        client-id: my-client-id
        # Oatuh app secret
        secret: my-secret


  #------------------------------
  #  Core Subsystem
  #------------------------------
+2 −1
Original line number Diff line number Diff line
@@ -16,7 +16,7 @@ image:
  pullPolicy: Always
  env:
    MEEP_SANDBOX_NAME: {{ .SandboxName }}
    MEEP_SESSION_KEY: "my-secret-key"
    MEEP_SESSION_KEY: {{ .SessionKey }}

service:
  name: meep-gis-engine
@@ -32,6 +32,7 @@ ingress:
        - /{{ .SandboxName }}/gis
  annotations:
    kubernetes.io/ingress.class: nginx
    nginx.ingress.kubernetes.io/force-ssl-redirect: {{ .HttpsOnly }}
    # kubernetes.io/tls-acme: "true"
    # nginx.ingress.kubernetes.io/rewrite-target: /$2
    nginx.ingress.kubernetes.io/configuration-snippet: |
+2 −0
Original line number Diff line number Diff line
@@ -17,6 +17,7 @@ image:
  env:
    MEEP_SANDBOX_NAME: {{ .SandboxName }}
    MEEP_HOST_URL: {{ .HostUrl }}
    MEEP_SESSION_KEY: {{ .SessionKey }}

service:
  name: meep-loc-serv
@@ -32,6 +33,7 @@ ingress:
        - /{{ .SandboxName }}/location
  annotations:
    kubernetes.io/ingress.class: nginx
    nginx.ingress.kubernetes.io/force-ssl-redirect: {{ .HttpsOnly }}
    # kubernetes.io/tls-acme: "true"
    # nginx.ingress.kubernetes.io/rewrite-target: /$2
    nginx.ingress.kubernetes.io/configuration-snippet: |
+2 −1
Original line number Diff line number Diff line
@@ -17,7 +17,7 @@ image:
  env:
    MEEP_SANDBOX_NAME: {{ .SandboxName }}
    MEEP_HOST_URL: {{ .HostUrl }}
    MEEP_SESSION_KEY: "my-secret-key"
    MEEP_SESSION_KEY: {{ .SessionKey }}

service:
  name: meep-metrics-engine
@@ -33,6 +33,7 @@ ingress:
        - /{{ .SandboxName }}/metrics
  annotations:
    kubernetes.io/ingress.class: nginx
    nginx.ingress.kubernetes.io/force-ssl-redirect: {{ .HttpsOnly }}
    # kubernetes.io/tls-acme: "true"
    # nginx.ingress.kubernetes.io/rewrite-target: /$2
    nginx.ingress.kubernetes.io/configuration-snippet: |
+2 −0
Original line number Diff line number Diff line
@@ -24,6 +24,7 @@ image:
  pullPolicy: Always
  env:
    MEEP_SANDBOX_NAME: {{ .SandboxName }}
    MEEP_SESSION_KEY: {{ .SessionKey }}

service:
  name: meep-mg-manager
@@ -39,6 +40,7 @@ ingress:
        - /{{ .SandboxName }}/mgm
  annotations:
    kubernetes.io/ingress.class: nginx
    nginx.ingress.kubernetes.io/force-ssl-redirect: {{ .HttpsOnly }}
    # kubernetes.io/tls-acme: "true"
    # nginx.ingress.kubernetes.io/rewrite-target: /$2
    nginx.ingress.kubernetes.io/configuration-snippet: |
Loading