fix
This commit is contained in:
@@ -70,7 +70,10 @@ spec:
|
|||||||
- name: REDIS_HOST_PORT
|
- name: REDIS_HOST_PORT
|
||||||
value: "6379"
|
value: "6379"
|
||||||
- name: REDIS_HOST_PASSWORD
|
- name: REDIS_HOST_PASSWORD
|
||||||
value: changeme
|
valueFrom:
|
||||||
|
secretKeyRef:
|
||||||
|
name: nextcloud
|
||||||
|
key: redis-password
|
||||||
resources:
|
resources:
|
||||||
{}
|
{}
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
|
|||||||
@@ -54,8 +54,6 @@ data "kustomization_overlay" "data" {
|
|||||||
value: "${local.dns-name}"
|
value: "${local.dns-name}"
|
||||||
- name: REDIS_HOST
|
- name: REDIS_HOST
|
||||||
value: "${var.instance}-${var.component}-redis.${var.namespace}.svc"
|
value: "${var.instance}-${var.component}-redis.${var.namespace}.svc"
|
||||||
- name: REDIS_HOST_PASSWORD
|
|
||||||
value: ""
|
|
||||||
resources:
|
resources:
|
||||||
{}
|
{}
|
||||||
- name: nextcloud-nginx
|
- name: nextcloud-nginx
|
||||||
|
|||||||
@@ -6,41 +6,6 @@ metadata:
|
|||||||
name: nextcloud
|
name: nextcloud
|
||||||
description: null
|
description: null
|
||||||
options:
|
options:
|
||||||
hpa:
|
|
||||||
default:
|
|
||||||
avg-cpu: 50
|
|
||||||
max-replicas: 5
|
|
||||||
min-replicas: 1
|
|
||||||
examples:
|
|
||||||
- avg-cpu: 50
|
|
||||||
max-replicas: 5
|
|
||||||
min-replicas: 1
|
|
||||||
properties:
|
|
||||||
avg-cpu:
|
|
||||||
default: 50
|
|
||||||
type: integer
|
|
||||||
max-replicas:
|
|
||||||
default: 5
|
|
||||||
type: integer
|
|
||||||
min-replicas:
|
|
||||||
default: 1
|
|
||||||
type: integer
|
|
||||||
type: object
|
|
||||||
admin:
|
|
||||||
default:
|
|
||||||
name: nextcloud_admin
|
|
||||||
examples:
|
|
||||||
- name: nextcloud_admin
|
|
||||||
properties:
|
|
||||||
name:
|
|
||||||
default: nextcloud_admin
|
|
||||||
type: string
|
|
||||||
type: object
|
|
||||||
domain:
|
|
||||||
default: your-company
|
|
||||||
examples:
|
|
||||||
- your-company
|
|
||||||
type: string
|
|
||||||
ingress-class:
|
ingress-class:
|
||||||
default: traefik
|
default: traefik
|
||||||
examples:
|
examples:
|
||||||
@@ -51,6 +16,11 @@ options:
|
|||||||
examples:
|
examples:
|
||||||
- letsencrypt-prod
|
- letsencrypt-prod
|
||||||
type: string
|
type: string
|
||||||
|
sub-domain:
|
||||||
|
default: cloud
|
||||||
|
examples:
|
||||||
|
- cloud
|
||||||
|
type: string
|
||||||
images:
|
images:
|
||||||
default:
|
default:
|
||||||
exporter:
|
exporter:
|
||||||
@@ -154,11 +124,6 @@ options:
|
|||||||
type: string
|
type: string
|
||||||
type: object
|
type: object
|
||||||
type: object
|
type: object
|
||||||
sub-domain:
|
|
||||||
default: cloud
|
|
||||||
examples:
|
|
||||||
- cloud
|
|
||||||
type: string
|
|
||||||
postgres:
|
postgres:
|
||||||
default:
|
default:
|
||||||
replicas: 1
|
replicas: 1
|
||||||
@@ -179,11 +144,46 @@ options:
|
|||||||
default: '14'
|
default: '14'
|
||||||
type: string
|
type: string
|
||||||
type: object
|
type: object
|
||||||
|
domain:
|
||||||
|
default: your-company
|
||||||
|
examples:
|
||||||
|
- your-company
|
||||||
|
type: string
|
||||||
domain-name:
|
domain-name:
|
||||||
default: your_company.com
|
default: your_company.com
|
||||||
examples:
|
examples:
|
||||||
- your_company.com
|
- your_company.com
|
||||||
type: string
|
type: string
|
||||||
|
hpa:
|
||||||
|
default:
|
||||||
|
avg-cpu: 50
|
||||||
|
max-replicas: 5
|
||||||
|
min-replicas: 1
|
||||||
|
examples:
|
||||||
|
- avg-cpu: 50
|
||||||
|
max-replicas: 5
|
||||||
|
min-replicas: 1
|
||||||
|
properties:
|
||||||
|
avg-cpu:
|
||||||
|
default: 50
|
||||||
|
type: integer
|
||||||
|
max-replicas:
|
||||||
|
default: 5
|
||||||
|
type: integer
|
||||||
|
min-replicas:
|
||||||
|
default: 1
|
||||||
|
type: integer
|
||||||
|
type: object
|
||||||
|
admin:
|
||||||
|
default:
|
||||||
|
name: nextcloud_admin
|
||||||
|
examples:
|
||||||
|
- name: nextcloud_admin
|
||||||
|
properties:
|
||||||
|
name:
|
||||||
|
default: nextcloud_admin
|
||||||
|
type: string
|
||||||
|
type: object
|
||||||
redis:
|
redis:
|
||||||
default:
|
default:
|
||||||
exporter:
|
exporter:
|
||||||
|
|||||||
@@ -17,5 +17,7 @@ resource "kubectl_manifest" "gitea_secret" {
|
|||||||
length: "32"
|
length: "32"
|
||||||
- fieldName: "nextcloud-token"
|
- fieldName: "nextcloud-token"
|
||||||
length: "32"
|
length: "32"
|
||||||
|
- fieldName: "redis-password"
|
||||||
|
length: "32"
|
||||||
EOF
|
EOF
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user