Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -56,4 +56,6 @@ spec:
{{- toYaml .Values.resources | nindent 12 }}
securityContext:
{{- toYaml .Values.securityContext | nindent 12 }}
volumes: {{- include "catalogue.volumes" . | nindent 8 }}
volumes: {{- include "catalogue.volumes" . | nindent 8 }}
securityContext:
fsGroup: 687467
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ spec:
ports:
- port: {{ .Values.service.port }}
name: http
targetPort: 80
targetPort: 8080
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ image:

dbtools:
repository: iad.ocir.io/oracle/ateam/mushop-dbtools
tag: 1.0.1
tag: 19.10.0
pullPolicy: IfNotPresent

osb: {}
Expand Down
10 changes: 9 additions & 1 deletion deploy/complete/terraform/chart-values/grafana-values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,14 @@ dashboards:
gnetId: 12658
revision: 1
datasource: Prometheus
k8s-cluster-autoscaler:
gnetId: 3831
revision: 1
datasource: Prometheus
k8s-hpa:
gnetId: 10257
revision: 1
datasource: Prometheus
k8s-pods:
gnetId: 6336
revision: 1
Expand Down Expand Up @@ -76,4 +84,4 @@ plugins:
- grafana-worldmap-panel
- grafana-piechart-panel
- btplc-status-dot-panel
- grafana-github-datasource
- grafana-github-datasource
2 changes: 1 addition & 1 deletion deploy/complete/terraform/schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ variables:

cluster_autoscaler_max_nodes:
type: integer
title: "Autoscaler: Maximum number of node"
title: "Autoscaler: Maximum number of nodes"
minimum: 1
maximum: 1000
required: true
Expand Down
9 changes: 5 additions & 4 deletions src/catalogue/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,14 @@ RUN microdnf update && \
rm -rf /var/cache/dnf && \
rm -rf /var/cache/yum

RUN groupadd -r app -g $((1000 + $RANDOM)) && \
RUN groupadd -r app -g 687467 && \
useradd -u $((1000 + $RANDOM)) -r -g app -m -d /app -s /sbin/nologin -c "App user" app && \
chmod 755 /app
chmod 755 /app && \
chown -R app /usr/lib/oracle

WORKDIR /app
COPY --from=go-builder /catalogue /app/
COPY images/ /app/images/
COPY --from=go-builder --chown=app:app /catalogue /app/
COPY --chown=app:app images/ /app/images/

VOLUME ["/usr/lib/oracle/${clientVersion}/client64/lib/network/admin/"]
## Workaround to support current implementation. Will go away when fix issue #138
Expand Down
2 changes: 1 addition & 1 deletion src/catalogue/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.4.2
1.4.3