For some reason I cannot access the admin UI when I set EVENTSTORE_INSECURE to False, I get a 502 error. I’m currently running v21.2. When I set EVENTSTORE_INSECURE to true then the admin UI is available. Is this by design or I’m I’m doing something wrong?
This is my deployment.yml
> apiVersion: apps/v1
>
> kind: StatefulSet
>
> metadata:
>
> name: abq-estore
>
> spec:
>
> selector:
>
> matchLabels:
>
> tier: eventstore
>
> replicas: 1
>
> serviceName: eventstore
>
> template:
>
> metadata:
>
> labels:
>
> tier: eventstore
>
> spec:
>
> volumes:
>
> - name: estore-cert-vol
>
> secret:
>
> secretName: abq-event-store-tls
>
> containers:
>
> - name: eventstore
>
> image: eventstore/eventstore:21.6.0-buster-slim
>
> imagePullPolicy: Always
>
> env:
>
> - name: TZ
>
> valueFrom:
>
> configMapKeyRef:
>
> name: abq-estore-config
>
> key: tz
>
> - name: EVENTSTORE_INT_IP
>
> valueFrom:
>
> fieldRef:
>
> fieldPath: status.podIP
>
> - name: EVENTSTORE_EXT_IP
>
> valueFrom:
>
> fieldRef:
>
> fieldPath: status.podIP
>
> - name: EVENTSTORE_RUN_PROJECTIONS
>
> value: All
>
> - name: EVENTSTORE_START_STANDARD_PROJECTIONS
>
> value: "true"
>
> - name: EVENTSTORE_TRUSTED_ROOT_CERTIFICATES_PATH
>
> value: /etc/estore-cert-vol/
>
> - name: EVENTSTORE_CERTIFICATE_PRIVATE_KEY_FILE
>
> value: /etc/estore-cert-vol/tls.key
>
> - name: EVENTSTORE_CERTIFICATE_FILE
>
> value: /etc/estore-cert-vol/tls.crt
>
> - name: EVENTSTORE_CERTIFICATE_SUBJECT_NAME
>
> value: "eventstore-stage.mycomany.com"
>
> - name: EVENTSTORE_CLUSTER_DNS
>
> value: "abq-estore"
>
> - name: EVENTSTORE_CLUSTER_SIZE
>
> value: "1"
>
> - name: EVENTSTORE_RUN_PROJECTIONS
>
> value: "All"
>
> - name: EVENTSTORE_START_STANDARD_PROJECTIONS
>
> value: "true"
>
> - name: EVENTSTORE_LOG
>
> value: "/var/log/eventstore"
>
> - name: EVENTSTORE_DB
>
> value: "/var/lib/eventstore/db"
>
> - name: EVENTSTORE_INDEX
>
> value: "/var/lib/eventstore/index"
>
> - name: EVENTSTORE_DISABLE_ADMIN_UI
>
> value: "false"
>
> - name: EVENTSTORE_LOG_HTTP_REQUESTS
>
> value: "false"
>
> - name: EVENTSTORE_MAX_MEM_TABLE_SIZE
>
> value: "32000000"
>
> - name: EVENTSTORE_MAX_APPEND_SIZE
>
> value: "16000000"
>
> - name: EVENTSTORE_WRITE_TIMEOUT_MS
>
> value: "120000"
>
> - name: EVENTSTORE_COMMIT_TIMEOUT_MS
>
> value: "120000"
>
> - name: EVENTSTORE_PREPARE_TIMEOUT_MS
>
> value: "120000"
>
> volumeMounts:
>
> - mountPath: "/etc/estore-cert-vol"
>
> name: estore-cert-vol
>
> ports:
>
> - containerPort: 2113
>
> name: http-port
>
> - containerPort: 1113
>
> name: tcp-port
>
> - containerPort: 2112
>
> name: gossip-port
>
> livenessProbe:
>
> httpGet:
>
> path: /
>
> port: 2113
>
> initialDelaySeconds: 30
>
> periodSeconds: 15
>
> readinessProbe:
>
> httpGet:
>
> path: /
>
> port: 2113
>
> initialDelaySeconds: 5
>
> periodSeconds: 5
>
> volumeClaimTemplates:
>
> - metadata:
>
> name: eventstore-pv-storage
>
> spec:
>
> accessModes:
>
> - ReadWriteOnce
>
> resources:
>
> requests:
>
> storage: 10Gi