Sometimes when declaring multiple ports with the katenary.io/ports label, all of the list might not need to be exposed.
eg
We declare the following ports katenary.io/ports: 80,443,8080,9000
In a PHP-Nginx configuration, the 9000 port shouldn't b exposed as it is only used internally.
We could ave a second label that is used to "declare" the internal ports, so it is not exposed
Sometimes when declaring multiple ports with the katenary.io/ports label, all of the list might not need to be exposed.
eg
We declare the following ports
`katenary.io/ports: 80,443,8080,9000`
In a PHP-Nginx configuration, the 9000 port shouldn't b exposed as it is only used internally.
We could ave a second label that is used to "declare" the internal ports, so it is not exposed
I wonder how we can declare this.
At this time we declare ports to be in "containerPort" in pods and "port" in services.
I propose:
katenary.io/ports: N
katenary.io/containerPorts: M
if "ports" is declared, it creates the containerPort in pods and the port in service
if "containerPorts" is declared, it only creates ports in pods but not in service
if both, so merge the definitions
Right ?
I wonder how we can declare this.
At this time we declare ports to be in "containerPort" in pods and "port" in services.
I propose:
```
katenary.io/ports: N
katenary.io/containerPorts: M
```
- if "ports" is declared, it creates the containerPort in pods **and** the port in service
- if "containerPorts" is declared, it **only** creates ports in pods but **not** in service
- if both, so merge the definitions
Right ?
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Sometimes when declaring multiple ports with the katenary.io/ports label, all of the list might not need to be exposed.
eg
We declare the following ports
katenary.io/ports: 80,443,8080,9000In a PHP-Nginx configuration, the 9000 port shouldn't b exposed as it is only used internally.
We could ave a second label that is used to "declare" the internal ports, so it is not exposed
I wonder how we can declare this.
At this time we declare ports to be in "containerPort" in pods and "port" in services.
I propose:
Right ?