Skip to content

Commit

Permalink
fix: EOF warn, adding empty values when needed
Browse files Browse the repository at this point in the history
  • Loading branch information
almog8k committed Mar 26, 2024
1 parent 2d7abae commit 763852e
Show file tree
Hide file tree
Showing 7 changed files with 138 additions and 10 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/build_and_push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,5 @@ jobs:

build_and_push_helm:
uses: MapColonies/shared-workflows/.github/workflows/build-and-push-helm.yaml@master
secrets: inherit
secrets: inherit

3 changes: 2 additions & 1 deletion .github/workflows/pull_request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,5 @@ on: [pull_request]
jobs:
pull_request:
uses: MapColonies/shared-workflows/.github/workflows/pull_request.yaml@master
secrets: inherit
secrets: inherit

3 changes: 2 additions & 1 deletion .github/workflows/release-on-tag-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,5 @@ on:
jobs:
release_on_tag_push:
uses: MapColonies/shared-workflows/.github/workflows/release-on-tag-push.yaml@master
secrets: inherit
secrets: inherit

127 changes: 127 additions & 0 deletions helm/output
Original file line number Diff line number Diff line change
@@ -0,0 +1,127 @@
---
# Source: job-manager/templates/configmap.yaml
apiVersion: v1
kind: ConfigMap
metadata:
name: 123-job-manager-configmap
data:
LOG_LEVEL: "warn"
REQUEST_PAYLOAD_LIMIT: "10mb"
RESPONSE_COMPRESSION_ENABLED: "true"
LOG_PRETTY_PRINT_ENABLED: "false"
DB_HOST: "localhost"
DB_PORT: "5432"
DB_NAME: "common"
DB_SCHEMA: ""
DB_LOGGING: "false"
DB_SSL_ENABLE: "false"
PGAPPNAME: job-manager
---
# Source: job-manager/templates/service.yaml
apiVersion: v1
kind: Service
metadata:
name: 123-job-manager-service
labels:
app: job-manager
component: job-manager
environment: development
release: 123
helm.sh/chart: job-manager-2.5.0
app.kubernetes.io/name: job-manager
app.kubernetes.io/instance: 123
app.kubernetes.io/version: "2.5.0"
app.kubernetes.io/managed-by: Helm
spec:
ports:
- port: 80
targetPort: 8080
protocol: "TCP"
name: http
selector:
app: job-manager
release: 123
run: 123-job-manager
app.kubernetes.io/name: job-manager
app.kubernetes.io/instance: 123
---
# Source: job-manager/templates/deployment.yaml
apiVersion: apps/v1
kind: Deployment
metadata:
name: 123-job-manager-deployment
labels:
app: job-manager
component: job-manager
environment: development
release: 123
helm.sh/chart: job-manager-2.5.0
app.kubernetes.io/name: job-manager
app.kubernetes.io/instance: 123
app.kubernetes.io/version: "2.5.0"
app.kubernetes.io/managed-by: Helm
spec:
replicas: 1
selector:
matchLabels:
app: job-manager
release: 123
run: 123-job-manager
app.kubernetes.io/name: job-manager
app.kubernetes.io/instance: 123
template:
metadata:
labels:
app: job-manager
release: 123
run: 123-job-manager
app.kubernetes.io/name: job-manager
app.kubernetes.io/instance: 123
annotations:
checksum/configmap: 981f286c01ae4b84ffb391fc678efc6afed3b37b981189333583fbd435c0c750
spec:
containers:
- name: 123
image: my-registry-url.io/job-manager:latest
env:
- name: SERVER_PORT
value: "8080"
- name: DB_USER
valueFrom:
secretKeyRef:
name: 123-postgres-secret
key: username
- name: DB_PASSWORD
valueFrom:
secretKeyRef:
name: 123-postgres-secret
key: password
- name: DB_SSL_ENABLE
value: "false"
- name: DB_SSL_CA
value: "/opt/certs/ca/ca.pem"
- name: DB_SSL_KEY
value: "/opt/certs/key/key.pem"
- name: DB_SSL_CERT
value: "/opt/certs/cert/cert.pem"
envFrom:
- configMapRef:
name: 123-job-manager-configmap
ports:
- name: http
containerPort: 8080
protocol: "TCP"
livenessProbe:
initialDelaySeconds: 60
httpGet:
path: /liveness
port: 8080
volumeMounts:
resources:
limits:
cpu: 100m
memory: 128Mi
requests:
cpu: 100m
memory: 128Mi
volumes:
2 changes: 1 addition & 1 deletion helm/templates/_resources.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,4 @@ Create ingress name as used by the service name label.
*/}}
{{- define "ingress.fullname" -}}
{{- printf "%s-%s-%s" .Release.Name .Chart.Name "ingress" | indent 1 }}
{{- end }}
{{- end }}
10 changes: 4 additions & 6 deletions helm/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,15 +43,13 @@ authentication:
externalSecretName: ""

db:
host: "localhost"
name: "common"
host: ""
name: ""
port: 5432
schema: "JobManager"
schema: ""
sslEnabled: false
logging: false
secrets:
useExternal: false
externalSecretName: ''



# ====================================================================================================
Expand Down
Empty file added output
Empty file.

0 comments on commit 763852e

Please sign in to comment.