Skip to content

KnownTrusteeAddress=False status remains after address is provided #396

Open

Description

@Jakob-Naucke

In integration tests with cleanup removed, long after creation & attestation already having worked fine:

spec:
  ...
  publicTrusteeAddr: 48.203.89.75:8080
status:
  conditions:
  - lastTransitionTime: "2026-11-03T14:16:49Z"
    message: No publicTrusteeAddr specified. Components can deploy, but register-server
      will not be able to point to Trustee until you add an address
    observedGeneration: 1
    reason: NoAddressFound
    status: "False"
    type: KnownTrusteeAddress

cc @SpaceFace02 I admit I haven't bisected but this seems introduced by #368 -- main reconciliation only acts upon deletion, nonunique, upgrade & fresh install; and if installation already kicked & there's no new version, if changed { … update_status! ... } never fires

Activity

  1. SpaceFace02 commented on Nov 4, 2026

    @SpaceFace02
    Member

    Hmm, how did attestation work fine with no KnownTrusteeAddress? observedGeneration is 1, so the original value wasn't overwritten by reconcile later,

    Can you please share the whole CRD and spec including the metadata.generation field value?

  2. Jakob-Naucke commented on Nov 4, 2026

    @Jakob-Naucke
    MemberAuthor

    of course, sorry, raised in a rush.

    apiVersion: trusted-execution-clusters.io/v1alpha1
    kind: TrustedExecutionCluster
    metadata:
      annotations:
        kubectl.kubernetes.io/last-applied-configuration: |
          {"apiVersion":"trusted-execution-clusters.io/v1alpha1","kind":"TrustedExecutionCluster","metadata":{"annotations":{},"name":"trusted-execution-cluster","namespace":"jnaucke-test-3ba47470"},"spec":{"attestationKeyRegisterSecret":"att-reg-secret","registerServerSecret":"reg-srv-secret","trusteeSecret":"trustee-secret"}}
      creationTimestamp: "2026-11-03T16:02:43Z"
      generation: 2
      name: trusted-execution-cluster
      namespace: jnaucke-test-3ba47470
      resourceVersion: "77248045"
      uid: 46fdf195-fd55-446a-8d5e-dd549f404244
    spec:
      attestationKeyRegisterSecret: att-reg-secret
      publicTrusteeAddr: 131.189.209.120:8080
      registerServerSecret: reg-srv-secret
      trusteeSecret: trustee-secret
    status:
      conditions:
      - lastTransitionTime: "2026-11-03T16:02:50Z"
        message: No publicTrusteeAddr specified. Components can deploy, but register-server
          will not be able to point to Trustee until you add an address
        observedGeneration: 1
        reason: NoAddressFound
        status: "False"
        type: KnownTrusteeAddress
      - lastTransitionTime: "2026-11-03T16:02:51Z"
        message: ""
        observedGeneration: 1
        reason: InstallationCompleted
        status: "True"
        type: Installed
      observedOperatorVersion: v0.2.3

    incidentally, why is last-applied-configuration not including the address… I ntd but I can also take a look later this week

    observedGeneration is 1, so the original value wasn't overwritten by reconcile later,

    that is the generation of that condition, not of the resource, no?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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