3scale / apicast-operator

Apache License 2.0
8 stars 15 forks source link

Smart secret management #170

Closed eguzki closed 2 years ago

eguzki commented 2 years ago

https://issues.redhat.com/browse/THREESCALE-7904

Apicast operator will manage related secrets with the following approach:

This PR includes:

Manually tested with the following APIcast CR:

---
apiVersion: apps.3scale.net/v1alpha1
kind: APIcast
metadata:
  name: apicast1
spec:
  resources: {}
  logLevel: debug
  deploymentEnvironment: staging
  configurationLoadMode: lazy
  cacheConfigurationSeconds: 0
  adminPortalCredentialsRef:
    name: supertest
  embeddedConfigurationSecretRef:
    name: apicast1conf
  customEnvironments:
    - secretRef:
        name: env1
  customPolicies:
    - name: Example
      version: "0.1"
      secretRef:
        name: cp-1
  httpsCertificateSecretRef:
    name: mycertsecret
  openTracing:
    enabled: false  # if activated, apicast requires opentracing agent up and running
    tracingConfigSecretRef:
      name: tracingconf
eguzki commented 2 years ago

Out of curiosity, typically should changes be manually verified by running the operator as part of a review ?

We have not been doing that, maybe with few exceptions, though. I am not going to tell you not to run it manually. If you do, the better. But not a hard requirement. There is a QE team for e2e tests.