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

document what types of systems can be created #5

Open
janwillies opened this issue Aug 5, 2021 · 3 comments
Open

document what types of systems can be created #5

janwillies opened this issue Aug 5, 2021 · 3 comments
Labels
enhancement New feature or request

Comments

@janwillies
Copy link
Collaborator

What problem are you facing?

I wanted to create a System and looked for the available types but couldn't find any

It looks like there is at least:

  • custom
  • envoy
  • kubernetes
  • kubernetes:v2
  • terraform(?)

I wasn't able to figure it out from the styra docs either.

How could provider-styra help solve your problem?

Maybe we can list them here: https://github.com/crossplane-contrib/provider-styra/blob/main/apis/system/v1alpha1/system.go#L55

@janwillies janwillies added the enhancement New feature or request label Aug 5, 2021
@janwillies
Copy link
Collaborator Author

There's a (beta) API which list the available types:

$ curl -s -H "Authorization: Bearer $STYRA_TOKEN" https://$STYRA_HOST/v1/system-types | jq '.result[] | {name,type_name}'
{
  "name": "custom",
  "type_name": "custom"
}
{
  "name": "envoy",
  "type_name": "envoy"
}
{
  "name": "kubernetes",
  "type_name": "kubernetes:v2"
}
{
  "name": "terraform",
  "type_name": "template.terraform:1.0"
}

@janwillies
Copy link
Collaborator Author

@MisterMX
Copy link
Collaborator

It might be a good idea to ask Styra for more verbose documentation of their API. Otherwise we would have to make wild guesses in some cases.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants