mirror of
https://github.com/OneUptime/oneuptime.git
synced 2026-04-06 00:32:12 +02:00
Update Greenlock packageRoot path in StatusPageCerts.ts and app.yaml
This commit is contained in:
5
.gitignore
vendored
5
.gitignore
vendored
@@ -107,4 +107,7 @@ InfrastructureAgent/build/*
|
||||
|
||||
InfrastructureAgent/err.log
|
||||
InfrastructureAgent/out.log
|
||||
InfrastructureAgent/daemon.pid
|
||||
InfrastructureAgent/daemon.pid
|
||||
App/greenlock/.greenlockrc
|
||||
App/greenlock/greenlock.d/config.json
|
||||
App/greenlock/greenlock.d/config.json.bak
|
||||
|
||||
@@ -23,7 +23,7 @@ const router: ExpressRouter = Express.getRouter();
|
||||
|
||||
const greenlock: any = Greenlock.create({
|
||||
configFile: '/usr/src/app/FeatureSet/Workers/greenlockrc',
|
||||
packageRoot: `/usr/src/app`,
|
||||
packageRoot: `/usr/src/app/greenlock`,
|
||||
manager: '/usr/src/app/FeatureSet/Workers/Utils/Greenlock/Manager.ts',
|
||||
approveDomains: async (opts: any) => {
|
||||
const domain: StatusPageDomain | null =
|
||||
|
||||
1
App/greenlock/README.md
Normal file
1
App/greenlock/README.md
Normal file
@@ -0,0 +1 @@
|
||||
# This directory is for the .greenlockrc file
|
||||
@@ -22,6 +22,10 @@ spec:
|
||||
date: "{{ now | unixEpoch }}"
|
||||
appname: oneuptime
|
||||
spec:
|
||||
volumes:
|
||||
- name: greenlockrc
|
||||
emptyDir:
|
||||
sizeLimit: "1Gi"
|
||||
{{- if $.Values.podSecurityContext }}
|
||||
securityContext: {{- $.Values.podSecurityContext | toYaml | nindent 8 }}
|
||||
{{- end }}
|
||||
@@ -37,6 +41,9 @@ spec:
|
||||
containers:
|
||||
- image: {{ printf "%s/%s/%s:%s" $.Values.image.registry $.Values.image.repository "app" $.Values.image.tag }}
|
||||
name: {{ printf "%s-%s" $.Release.Name "app" }}
|
||||
volumeMounts:
|
||||
- name: greenlockrc
|
||||
mountPath: "/usr/src/app/greenlock/.greenlockrc"
|
||||
{{- if $.Values.containerSecurityContext }}
|
||||
securityContext: {{- $.Values.containerSecurityContext | toYaml | nindent 12 }}
|
||||
{{- end }}
|
||||
|
||||
Reference in New Issue
Block a user