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

Add phase to status #49

Closed
nakamasato opened this issue Oct 7, 2021 · 1 comment · Fixed by #90
Closed

Add phase to status #49

nakamasato opened this issue Oct 7, 2021 · 1 comment · Fixed by #90

Comments

@nakamasato
Copy link
Owner

nakamasato commented Oct 7, 2021

Currently, only conditions is available. I want to know if it's ready or not.

kubectl get mysqluser -o yaml nakamasato
apiVersion: mysql.nakamasato.com/v1alpha1
kind: MySQLUser
metadata:
  annotations:
    kubectl.kubernetes.io/last-applied-configuration: |
      {"apiVersion":"mysql.nakamasato.com/v1alpha1","kind":"MySQLUser","metadata":{"annotations":{},"name":"nakamasato","namespace":"default"},"spec":{"mysqlName":"mysql-sample"}}
  creationTimestamp: "2021-10-07T01:04:27Z"
  finalizers:
  - mysqluser.nakamasato.com/finalizer
  generation: 1
  name: nakamasato
  namespace: default
  resourceVersion: "42177"
  uid: 025e7a2b-9a17-44ae-b6cb-713b58d8be45
spec:
  host: '%'
  mysqlName: mysql-sample
status:
  conditions:
  - lastTransitionTime: "2021-10-07T01:04:28Z"
    message: 'driver: bad connection'
    observedGeneration: 1
    reason: LastReconcileCycleFailed
    status: "True"
    type: ReconcileError
  - lastTransitionTime: "2021-10-07T01:04:29Z"
    message: ""
    observedGeneration: 1
    reason: LastReconcileCycleSucceded
    status: "True"
    type: ReconcileSuccess
@nakamasato nakamasato changed the title add phase Add phase to status Oct 7, 2021
@nakamasato
Copy link
Owner Author

Related to #17

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant