This message was deleted.
# infisical-feedback
s
This message was deleted.
i
I have dropped and recreated operator, just don’t work
After like 30 minutes it started to work, secret created
Same again new secrets are not created
After like 15-30 minutes in operator pod logs I see
Copy code
Could not fetch secrets in environment: dev secret-path: /SETUPTOOLS/PYPI-SERVERReconcileInfisicalSecret: Fetched secrets via service token
successfully updated managed Kubernetes secret
And immediately after that seems like secret is created. Looks like default timeout to get secret is too high and retry logic is delayed until that timeout
API endpoint has no issues when I call
Copy code
curl --request GET \
--url "<https://app.infisical.com/api/v3/secrets?workspaceId=${WORKSPACE_ID}&environment=dev&secretPath=%2FPG%2FWINDMILL&include_imports=true>" \
--header "Authorization: Bearer ${BEARER_TOKEN}"
Everything is returned just fine.
So it doesn’t look like network issue
Same endpoint seems like used by operator, but nothing works as expected
Also I’ve tested on the other cluster, same issues
Seems like fully dead now, not recreated at all
m
Can you please share your InfisicalSecert CRD?
i
Copy code
apiVersion: <http://secrets.infisical.com/v1alpha1|secrets.infisical.com/v1alpha1>
kind: InfisicalSecret
metadata:
  annotations:
    <http://kubectl.kubernetes.io/last-applied-configuration|kubectl.kubernetes.io/last-applied-configuration>: >
      {"apiVersion":"<http://secrets.infisical.com/v1alpha1|secrets.infisical.com/v1alpha1>","kind":"InfisicalSecret","metadata":{"annotations":{},"name":"infisical-secret","namespace":"helpers"},"spec":{"authentication":{"serviceToken":{"secretsScope":{"envSlug":"prod","secretsPath":"/PG/WINDMILL"},"serviceTokenSecretReference":{"secretName":"infisical-token-6545dt9m8t","secretNamespace":"helpers"}}},"hostAPI":"<https://app.infisical.com/api>","managedSecretReference":{"secretName":"infisical-secret","secretNamespace":"helpers"},"resyncInterval":6000}}
  creationTimestamp: '2024-02-03T16:19:26Z'
  generation: 1
  managedFields:
    - apiVersion: <http://secrets.infisical.com/v1alpha1|secrets.infisical.com/v1alpha1>
      fieldsType: FieldsV1
      fieldsV1:
        f:metadata:
          f:annotations:
            .: {}
            f:<http://kubectl.kubernetes.io/last-applied-configuration|kubectl.kubernetes.io/last-applied-configuration>: {}
        f:spec:
          .: {}
          f:authentication:
            .: {}
            f:serviceToken:
              .: {}
              f:secretsScope:
                .: {}
                f:envSlug: {}
                f:secretsPath: {}
              f:serviceTokenSecretReference:
                .: {}
                f:secretName: {}
                f:secretNamespace: {}
          f:hostAPI: {}
          f:managedSecretReference:
            .: {}
            f:secretName: {}
            f:secretNamespace: {}
            f:secretType: {}
          f:resyncInterval: {}
      manager: kubectl-client-side-apply
      operation: Update
      time: '2024-02-03T16:19:26Z'
  name: infisical-secret
  namespace: helpers
  resourceVersion: '2087275'
  uid: 6524a5f3-07f8-4017-b3f5-a2a7614620a9
  selfLink: >-
    /apis/secrets.infisical.com/v1alpha1/namespaces/helpers/infisicalsecrets/infisical-secret
spec:
  authentication:
    serviceToken:
      secretsScope:
        envSlug: prod
        secretsPath: /PG/WINDMILL
      serviceTokenSecretReference:
        secretName: infisical-token-6545dt9m8t
        secretNamespace: helpers
  hostAPI: <https://app.infisical.com/api>
  managedSecretReference:
    secretName: infisical-secret
    secretNamespace: helpers
    secretType: Opaque
  resyncInterval: 6000
Workspace ID: 65a2674058eaf0990f3ee036
Still having same issues, just retested