Giter VIP home page Giter VIP logo

Comments (7)

schroeder-paul avatar schroeder-paul commented on July 23, 2024 2

@janwillies PoC:

$ kubectl -n crossplane-system get secrets connection-details -o yaml        
apiVersion: v1
data:
  opaConfig: ZGlzY292ZXJ ... xL2J1bmRsZXMK
kind: Secret
metadata:
  creationTimestamp: "2022-01-21T15:21:05Z"
  name: connection-details
  namespace: crossplane-system
  ownerReferences:
  - apiVersion: styra.crossplane.io/v1alpha1
    controller: true
    kind: System
    name: example-system
    uid: 93a3842a-ca47-4414-a17e-6b1831761433
  resourceVersion: "1202051"
  uid: eedf4b10-5251-4762-820f-505c47c94c7a
type: connection.crossplane.io/v1alpha1

from provider-styra.

MisterMX avatar MisterMX commented on July 23, 2024 1

Sorry, I misunderstood your issue with something that sounded similar.

Yes, you are right, we currently only support Styra's kubernetes and kubernetes:v2 for connection secrets. Instead of the helm values we could fetch the OPA config from /v1/systems/<system-id>/assets/opa-config and write it out as connection secret.

from provider-styra.

MisterMX avatar MisterMX commented on July 23, 2024

This issue should be fixed by now. Are you running the latest version?

from provider-styra.

janwillies avatar janwillies commented on July 23, 2024

I was running 7f325a5 when I tested.

I'm referring to this part of the code: https://github.com/crossplane-contrib/provider-styra/blob/main/pkg/controller/system/controller.go#L357-L363

Note that I'm trying to create a system of type custom here.

from provider-styra.

MisterMX avatar MisterMX commented on July 23, 2024

You have to create a system of type kubernetes or better kubernetes:v2. Only for those does Styra provide a helm chart.

from provider-styra.

janwillies avatar janwillies commented on July 23, 2024

But I want to create a system of type custom :)

I opened the issue to see if that's something provider-styra is able to support.

from provider-styra.

MisterMX avatar MisterMX commented on July 23, 2024

Fixed in #23

from provider-styra.

Related Issues (9)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.