Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
koh-osug opened this issue Nov 12, 2023 · 0 comments
Open

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

koh-osug opened this issue Nov 12, 2023 · 0 comments

Comments

@koh-osug
Copy link
Contributor

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant