Add stackgres chart
This commit is contained in:
@@ -0,0 +1,46 @@
|
||||
{{- if .Values.extensions.cache.enabled }}
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
metadata:
|
||||
name: {{ .Release.Name }}-extensions-cache
|
||||
namespace: {{ .Release.Namespace }}
|
||||
{{- if .Values.qutePreprocess }}#comment.preprocess.start{{- end }}
|
||||
data:
|
||||
nginx.conf: |
|
||||
pid /var/run/nginx.pid;
|
||||
error_log /dev/stdout;
|
||||
error_log /var/log/nginx/error.log;
|
||||
events{
|
||||
}
|
||||
http {
|
||||
include /etc/nginx/mime.types;
|
||||
default_type application/octet-stream;
|
||||
|
||||
log_format main '$remote_addr - $remote_user [$time_local] "$request" '
|
||||
'$status $body_bytes_sent "$http_referer" '
|
||||
'"$http_user_agent" "$http_x_forwarded_for"';
|
||||
|
||||
access_log /dev/stdout main;
|
||||
access_log /var/log/nginx/access.log main;
|
||||
|
||||
sendfile on;
|
||||
|
||||
keepalive_timeout 65;
|
||||
|
||||
include /etc/nginx/conf.d/*.conf;
|
||||
}
|
||||
stackgres-operator-extensions-cache.conf: |
|
||||
server {
|
||||
server_name localhost;
|
||||
|
||||
listen 8080;
|
||||
root /opt/app-root/src;
|
||||
|
||||
location / {
|
||||
try_files /$host$uri =404;
|
||||
}
|
||||
}
|
||||
extensions-cache-conciliator.sh: |
|
||||
{{ .Files.Get "extensions-cache-conciliator.sh" | indent 4 }}
|
||||
{{- if .Values.qutePreprocess }}#comment.preprocess.end{{- end }}
|
||||
{{- end }}
|
||||
Reference in New Issue
Block a user