Bug 1383812
Summary: | Error setting ports using parameter in template. IANA_SVC_NAME error. | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Ryan Howe <rhowe> |
Component: | Build | Assignee: | Ben Parees <bparees> |
Status: | CLOSED ERRATA | QA Contact: | Wang Haoran <haowang> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 3.3.0 | CC: | aos-bugs, jokerman, mmccomas, tdawson, wewang, wzheng |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Enhancement | |
Doc Text: |
Feature:
Support using parameter references in non-string template fields.
Reason:
Previously parameter references could not be used in non-string api fields such as replica count or port. This is now supported by using the ${{PARAMETER}} syntax to reference a parameter within the template.
Result:
Non-string api fields can now contain parameter references when writing a template.
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2017-01-18 12:42:28 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Ryan Howe
2016-10-11 20:19:27 UTC
Would this upstream PR fix this issue? https://github.com/openshift/origin/pull/11421 Does this add the functionality to use double curly brackets to drop the quotes? Port and TargetPort need to both be ints in this example. Moving to Ben's team. Support for non-string parameter values is coming in this PR: https://github.com/openshift/origin/pull/11421 in the meantime it's not possible to use parameter substitution to define non-string fields in a template. (and port, while an intorstring field, only supports integer values when they are unquoted, which isn't compatible w/ the current template parameter capabilities). This has been merged into ose and is in OSE v3.4.0.16 or newer. verified with: openshift v3.4.0.16+cc70b72 kubernetes v1.4.0+776c994 etcd 3.1.0-rc.0 Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2017:0066 |