-
Notifications
You must be signed in to change notification settings - Fork 42
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
service
resource type not supported
#118
Comments
In the meantime, like discussed with @astromechza, we could add a custom provisioner to support this: - uri: template://static-service
type: service
outputs: |
name: <hostname> |
This below is working: - uri: template://service-provisioners/static-service
type: service
init: |
name: {{ splitList "." .Id | last }}
outputs: |
{{ $w := (index .WorkloadServices .Init.name) }}
name: {{ $w.ServiceName | quote }} @astromechza, should we have this upstream in the |
@mathieu-benoit what is the definition of a "service"? does it just return a random hostname? What gets provisioned when we declare it? The problem with the generic So in your example above, if the order service has:
We need to actually translate your port 3000, into port 9000. This is why the "service port" exists in score-compose. In Humanitec, it targets Kubernetes, so it can use the port of the service, although no validation is done to check if the service actually has port 3000 declared. (I'm converting this ticket to a feature request) |
service
resources
not supported?service
resources
not supported?
I think this |
Current thinking is that we're going to leave the service/service-port as they are and work towards a more general resource type to represent external service endpoints including any port or protocol information as needed. We'll work with Humanitec to include this as a default "resource definition" there. |
service
resources
not supported?service
resource type not supported
I have this
score.file
:But I'm getting this error while running
score-compose generate
:I understand that
service-port
has been supported only forscore-compose
? But how to make sure that I have the same Score file compatible withscore-compose
and Humanitec?The text was updated successfully, but these errors were encountered: