Adding frontend to the chart
Change-Id: I55917608fc673c580635748b7b35f52e1837f597
This commit is contained in:
parent
15056f056a
commit
776c8f0bfc
@ -4,15 +4,15 @@ kind: Deployment
|
||||
metadata:
|
||||
name: {{ include "nebulous-cloud-fog-service-broker.fullname" . }}-postgresql
|
||||
labels:
|
||||
{{- include "nebulous-cloud-fog-service-broker.labels" . | nindent 4 }}
|
||||
{{- include "nebulous-cloud-fog-service-broker.labels" . | nindent 4 }}-postgresql
|
||||
spec:
|
||||
selector:
|
||||
matchLabels:
|
||||
{{- include "nebulous-cloud-fog-service-broker.selectorLabels" . | nindent 6 }}
|
||||
{{- include "nebulous-cloud-fog-service-broker.selectorLabels" . | nindent 6 }}-postgresql
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
{{- include "nebulous-cloud-fog-service-broker.selectorLabels" . | nindent 8 }}
|
||||
{{- include "nebulous-cloud-fog-service-broker.selectorLabels" . | nindent 8 }}-postgresql
|
||||
spec:
|
||||
volumes:
|
||||
- name: postgres-data
|
||||
@ -48,7 +48,7 @@ kind: Service
|
||||
metadata:
|
||||
name: {{ include "nebulous-cloud-fog-service-broker.fullname" . }}-postgresql
|
||||
labels:
|
||||
{{- include "nebulous-cloud-fog-service-broker.labels" . | nindent 4 }}
|
||||
{{- include "nebulous-cloud-fog-service-broker.labels" . | nindent 4 }}-postgresql
|
||||
spec:
|
||||
type: ClusterIP
|
||||
ports:
|
||||
@ -57,5 +57,5 @@ spec:
|
||||
protocol: TCP
|
||||
name: postgresql
|
||||
selector:
|
||||
{{- include "nebulous-cloud-fog-service-broker.selectorLabels" . | nindent 4 }}
|
||||
{{- include "nebulous-cloud-fog-service-broker.selectorLabels" . | nindent 4 }}-postgresql
|
||||
{{ end }}
|
||||
|
@ -11,5 +11,9 @@ spec:
|
||||
targetPort: http
|
||||
protocol: TCP
|
||||
name: http
|
||||
- port: {{ .Values.service.guiPort }}
|
||||
targetPort: http
|
||||
protocol: TCP
|
||||
name: gui
|
||||
selector:
|
||||
{{- include "nebulous-cloud-fog-service-broker.selectorLabels" . | nindent 4 }}
|
||||
|
@ -26,47 +26,48 @@ serviceAccount:
|
||||
podAnnotations: {}
|
||||
|
||||
podSecurityContext: {}
|
||||
# fsGroup: 2000
|
||||
# fsGroup: 2000
|
||||
|
||||
securityContext: {}
|
||||
# capabilities:
|
||||
# drop:
|
||||
# - ALL
|
||||
# readOnlyRootFilesystem: true
|
||||
# runAsNonRoot: true
|
||||
# runAsUser: 1000
|
||||
# capabilities:
|
||||
# drop:
|
||||
# - ALL
|
||||
# readOnlyRootFilesystem: true
|
||||
# runAsNonRoot: true
|
||||
# runAsUser: 1000
|
||||
|
||||
service:
|
||||
type: ClusterIP
|
||||
port: 80
|
||||
port: 8001
|
||||
guiPort: 80
|
||||
|
||||
ingress:
|
||||
enabled: false
|
||||
className: ""
|
||||
annotations: {}
|
||||
# kubernetes.io/ingress.class: nginx
|
||||
# kubernetes.io/tls-acme: "true"
|
||||
# kubernetes.io/ingress.class: nginx
|
||||
# kubernetes.io/tls-acme: "true"
|
||||
hosts:
|
||||
- host: chart-example.local
|
||||
paths:
|
||||
- path: /
|
||||
pathType: ImplementationSpecific
|
||||
- host: chart-example.local
|
||||
paths:
|
||||
- path: /
|
||||
pathType: ImplementationSpecific
|
||||
tls: []
|
||||
# - secretName: chart-example-tls
|
||||
# hosts:
|
||||
# - chart-example.local
|
||||
|
||||
resources: {}
|
||||
# We usually recommend not to specify default resources and to leave this as a conscious
|
||||
# choice for the user. This also increases chances charts run on environments with little
|
||||
# resources, such as Minikube. If you do want to specify resources, uncomment the following
|
||||
# lines, adjust them as necessary, and remove the curly braces after 'resources:'.
|
||||
# limits:
|
||||
# cpu: 100m
|
||||
# memory: 128Mi
|
||||
# requests:
|
||||
# cpu: 100m
|
||||
# memory: 128Mi
|
||||
# We usually recommend not to specify default resources and to leave this as a conscious
|
||||
# choice for the user. This also increases chances charts run on environments with little
|
||||
# resources, such as Minikube. If you do want to specify resources, uncomment the following
|
||||
# lines, adjust them as necessary, and remove the curly braces after 'resources:'.
|
||||
# limits:
|
||||
# cpu: 100m
|
||||
# memory: 128Mi
|
||||
# requests:
|
||||
# cpu: 100m
|
||||
# memory: 128Mi
|
||||
|
||||
autoscaling:
|
||||
enabled: false
|
||||
@ -104,3 +105,11 @@ postgresql:
|
||||
claimName: "postgresql-pvc"
|
||||
initScript:
|
||||
configMapName: "db-init-script"
|
||||
|
||||
env:
|
||||
backendHost: "http://cloud-fog-service-broker:8001"
|
||||
|
||||
frontend:
|
||||
image:
|
||||
repository: "quay.io/nebulous/cloud-fog-service-broker-backend"
|
||||
tag: ""
|
||||
|
Loading…
x
Reference in New Issue
Block a user