Skip to content

MySQL secrets do not match with and registrar/verifier #37

@koh-osug

Description

@koh-osug

I'm deploying the operator in minikube and the mysql secret does not match with the password used in the registrar and verifier. What could be the reason?

kubectl get configmap  hhkl-keylime-config -n keylime -o yaml
apiVersion: v1
data:
  KEYLIME_REGISTRAR_DATABASE_URL: mysql+pymysql://root:xNVxBFkOvB2CtZbC5j8POgNh4ARPHn03@hhkl-mysql.keylime.svc.cluster.local:3306/keylimedb?charset=utf8
  KEYLIME_REGISTRAR_IP: 0.0.0.0
  KEYLIME_REGISTRAR_PORT: "8890"
  KEYLIME_REGISTRAR_TLS_DIR: default
  KEYLIME_REGISTRAR_TLS_PORT: "8891"
  KEYLIME_TENANT_REGISTRAR_IP: hhkl-keylime-registrar.keylime.svc.cluster.local
  KEYLIME_TENANT_REGISTRAR_PORT: "8891"
  KEYLIME_TENANT_VERIFIER_IP: hhkl-keylime-verifier.keylime.svc.cluster.local
  KEYLIME_TENANT_VERIFIER_PORT: "8881"
  KEYLIME_VERIFIER_DATABASE_URL: mysql+pymysql://root:xNVxBFkOvB2CtZbC5j8POgNh4ARPHn03@hhkl-mysql.keylime.svc.cluster.local:3306/keylimedb?charset=utf8
  KEYLIME_VERIFIER_IP: 0.0.0.0
  KEYLIME_VERIFIER_PORT: "8881"
  KEYLIME_VERIFIER_TLS_DIR: generate
kind: ConfigMap
metadata:
  annotations:
    meta.helm.sh/release-name: hhkl
    meta.helm.sh/release-namespace: keylime
  creationTimestamp: "2023-11-12T01:22:57Z"
  labels:
    app.kubernetes.io/instance: hhkl
    app.kubernetes.io/managed-by: Helm
    app.kubernetes.io/name: keylime
    app.kubernetes.io/version: latest
    helm.sh/chart: keylime-0.1.0
  name: hhkl-keylime-config
  namespace: keylime
  resourceVersion: "25703"
  uid: dd7c2082-238b-4d71-a4ba-1973c6f0e76b
kubectl get secret  hhkl-keylime-mysql-password -n keylime -o yaml
apiVersion: v1
data:
  mysql-password: YzNJcUdhbzhPZVhySUQ1Z0ZuOGxVc01PZG94dDlTTjI=
  mysql-root-password: YzNJcUdhbzhPZVhySUQ1Z0ZuOGxVc01PZG94dDlTTjI=
kind: Secret
metadata:
  annotations:
    helm.sh/hook: pre-install
    helm.sh/resource-policy: keep
  creationTimestamp: "2023-11-12T01:22:48Z"
  labels:
    app.kubernetes.io/instance: hhkl
    app.kubernetes.io/managed-by: Helm
    app.kubernetes.io/name: keylime-init
    app.kubernetes.io/version: latest
    helm.sh/chart: keylime-init-0.1.0
  name: hhkl-keylime-mysql-password
  namespace: keylime
  resourceVersion: "25536"
  uid: 5264731b-1b90-47f2-9c58-deb73045819b
type: Opaque

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions