mirror of
https://github.com/kennethreitz/bruce-operator.git
synced 2026-06-05 23:20:18 +00:00
expose port 80
This commit is contained in:
@@ -40,9 +40,6 @@ RUN echo "deb http://apt.kubernetes.io/ kubernetes-xenial main" | tee -a /etc/ap
|
||||
RUN apt-get update
|
||||
RUN apt-get install -y kubectl
|
||||
|
||||
RUN mkdir -p /tmp/buildpacks
|
||||
# VOLUME /opt/buildpacks
|
||||
|
||||
COPY . /app
|
||||
|
||||
# -- Install dependencies:
|
||||
|
||||
@@ -205,6 +205,11 @@ metadata:
|
||||
name: bruce-operator
|
||||
spec:
|
||||
clusterIP: None
|
||||
ports:
|
||||
- name: operator-http
|
||||
port: 80
|
||||
# nodePort: 80
|
||||
targetPort: 0
|
||||
selector:
|
||||
io.kompose.service: bruce-operator
|
||||
status:
|
||||
|
||||
Reference in New Issue
Block a user