mirror of
https://github.com/bitnami/containers.git
synced 2026-03-05 07:29:11 +08:00
Set kompose.service.type label so kubernetes service is NodePort
This commit is contained in:
@@ -6,6 +6,8 @@ services:
|
||||
- 'postgresql_data:/bitnami/postgresql'
|
||||
odoo:
|
||||
image: 'bitnami/odoo:10'
|
||||
labels:
|
||||
kompose.service.type: nodeport
|
||||
ports:
|
||||
- '80:8069'
|
||||
- '443:8071'
|
||||
|
||||
@@ -6,6 +6,8 @@ services:
|
||||
- 'postgresql_data:/bitnami/postgresql'
|
||||
odoo:
|
||||
image: 'bitnami/odoo:latest'
|
||||
labels:
|
||||
kompose.service.type: nodeport
|
||||
ports:
|
||||
- '80:8069'
|
||||
- '443:8071'
|
||||
|
||||
@@ -3,6 +3,8 @@ items:
|
||||
- apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
annotations:
|
||||
kompose.service.type: nodeport
|
||||
creationTimestamp: null
|
||||
labels:
|
||||
io.kompose.service: odoo
|
||||
@@ -17,6 +19,7 @@ items:
|
||||
targetPort: 8071
|
||||
selector:
|
||||
io.kompose.service: odoo
|
||||
type: NodePort
|
||||
status:
|
||||
loadBalancer: {}
|
||||
- apiVersion: v1
|
||||
@@ -39,6 +42,8 @@ items:
|
||||
- apiVersion: extensions/v1beta1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
annotations:
|
||||
kompose.service.type: nodeport
|
||||
creationTimestamp: null
|
||||
name: odoo
|
||||
spec:
|
||||
|
||||
Reference in New Issue
Block a user