Puppet Function: kubeinstall::service_port_appprotocol
- Defined in:
- functions/service_port_appprotocol.pp
- Function type:
- Puppet Language
Overview
The application protocol for this port. This field follows standard Kubernetes label syntax. Un-prefixed names are reserved for IANA standard service names (as per RFC-6335 and www.iana.org/assignments/service-names). Non- standard protocols should use prefixed names such as mycompany.com/my-custom-protocol.
5 6 7 8 9 10 11 12 |
# File 'functions/service_port_appprotocol.pp', line 5
function kubeinstall::service_port_appprotocol(Kubeinstall::ServicePort $port) >> Hash {
if $port['appProtocol'] {
{ 'appProtocol' => $port['appProtocol'] }
}
else {
{}
}
}
|