fix
This commit is contained in:
@@ -56,7 +56,7 @@ resource "kubectl_manifest" "deploy" {
|
|||||||
- name: CODE_SERVER_CONFIG
|
- name: CODE_SERVER_CONFIG
|
||||||
value: /etc/code-server/config.yml
|
value: /etc/code-server/config.yml
|
||||||
image: "${var.images.codeserver.registry}/${var.images.codeserver.repository}:${var.images.codeserver.tag}"
|
image: "${var.images.codeserver.registry}/${var.images.codeserver.repository}:${var.images.codeserver.tag}"
|
||||||
imagePullPolicy: "${var.images.codeserver.pullPolicy}"
|
imagePullPolicy: "${var.images.codeserver.pull_policy}"
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 8080
|
- containerPort: 8080
|
||||||
name: http
|
name: http
|
||||||
|
|||||||
@@ -87,25 +87,25 @@ options:
|
|||||||
images:
|
images:
|
||||||
default:
|
default:
|
||||||
codeserver:
|
codeserver:
|
||||||
pullPolicy: IfNotPresent
|
pull_policy: IfNotPresent
|
||||||
registry: docker.io
|
registry: docker.io
|
||||||
repository: sebt3/code-server
|
repository: sebt3/code-server
|
||||||
tag: 4.18
|
tag: 4.18
|
||||||
examples:
|
examples:
|
||||||
- codeserver:
|
- codeserver:
|
||||||
pullPolicy: IfNotPresent
|
pull_policy: IfNotPresent
|
||||||
registry: docker.io
|
registry: docker.io
|
||||||
repository: sebt3/code-server
|
repository: sebt3/code-server
|
||||||
tag: 4.18
|
tag: 4.18
|
||||||
properties:
|
properties:
|
||||||
codeserver:
|
codeserver:
|
||||||
default:
|
default:
|
||||||
pullPolicy: IfNotPresent
|
pull_policy: IfNotPresent
|
||||||
registry: docker.io
|
registry: docker.io
|
||||||
repository: sebt3/code-server
|
repository: sebt3/code-server
|
||||||
tag: 4.18
|
tag: 4.18
|
||||||
properties:
|
properties:
|
||||||
pullPolicy:
|
pull_policy:
|
||||||
default: IfNotPresent
|
default: IfNotPresent
|
||||||
enum:
|
enum:
|
||||||
- Always
|
- Always
|
||||||
|
|||||||
@@ -58,7 +58,7 @@ resource "kubectl_manifest" "deploy" {
|
|||||||
name: "${var.component}-${var.instance}"
|
name: "${var.component}-${var.instance}"
|
||||||
env: ${jsonencode(local.deploy-envs)}
|
env: ${jsonencode(local.deploy-envs)}
|
||||||
image: "${var.images.dbgate.registry}/${var.images.dbgate.repository}:${var.images.dbgate.tag}"
|
image: "${var.images.dbgate.registry}/${var.images.dbgate.repository}:${var.images.dbgate.tag}"
|
||||||
imagePullPolicy: "${var.images.dbgate.pullPolicy}"
|
imagePullPolicy: "${var.images.dbgate.pull_policy}"
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 3000
|
- containerPort: 3000
|
||||||
name: http
|
name: http
|
||||||
|
|||||||
@@ -6,6 +6,156 @@ metadata:
|
|||||||
name: dbgate
|
name: dbgate
|
||||||
description: null
|
description: null
|
||||||
options:
|
options:
|
||||||
|
app_group:
|
||||||
|
default: dev
|
||||||
|
examples:
|
||||||
|
- dev
|
||||||
|
type: string
|
||||||
|
ingress_class:
|
||||||
|
default: traefik
|
||||||
|
examples:
|
||||||
|
- traefik
|
||||||
|
type: string
|
||||||
|
images:
|
||||||
|
default:
|
||||||
|
dbgate:
|
||||||
|
pull_policy: IfNotPresent
|
||||||
|
registry: docker.io
|
||||||
|
repository: dbgate/dbgate
|
||||||
|
tag: 5.2.7-alpine
|
||||||
|
examples:
|
||||||
|
- dbgate:
|
||||||
|
pull_policy: IfNotPresent
|
||||||
|
registry: docker.io
|
||||||
|
repository: dbgate/dbgate
|
||||||
|
tag: 5.2.7-alpine
|
||||||
|
properties:
|
||||||
|
dbgate:
|
||||||
|
default:
|
||||||
|
pull_policy: IfNotPresent
|
||||||
|
registry: docker.io
|
||||||
|
repository: dbgate/dbgate
|
||||||
|
tag: 5.2.7-alpine
|
||||||
|
properties:
|
||||||
|
pull_policy:
|
||||||
|
default: IfNotPresent
|
||||||
|
enum:
|
||||||
|
- Always
|
||||||
|
- Never
|
||||||
|
- IfNotPresent
|
||||||
|
type: string
|
||||||
|
registry:
|
||||||
|
default: docker.io
|
||||||
|
type: string
|
||||||
|
repository:
|
||||||
|
default: dbgate/dbgate
|
||||||
|
type: string
|
||||||
|
tag:
|
||||||
|
default: 5.2.7-alpine
|
||||||
|
type: string
|
||||||
|
type: object
|
||||||
|
type: object
|
||||||
|
domain:
|
||||||
|
default: your-company
|
||||||
|
examples:
|
||||||
|
- your-company
|
||||||
|
type: string
|
||||||
|
pg:
|
||||||
|
default: []
|
||||||
|
examples:
|
||||||
|
- []
|
||||||
|
items:
|
||||||
|
properties:
|
||||||
|
dbname:
|
||||||
|
default: ''
|
||||||
|
type: string
|
||||||
|
name:
|
||||||
|
default: ''
|
||||||
|
type: string
|
||||||
|
namespace:
|
||||||
|
default: ''
|
||||||
|
type: string
|
||||||
|
secret:
|
||||||
|
properties:
|
||||||
|
key:
|
||||||
|
default: ''
|
||||||
|
type: string
|
||||||
|
name:
|
||||||
|
default: ''
|
||||||
|
type: string
|
||||||
|
type: object
|
||||||
|
username:
|
||||||
|
default: ''
|
||||||
|
type: string
|
||||||
|
type: object
|
||||||
|
type: array
|
||||||
|
storage:
|
||||||
|
default:
|
||||||
|
volume:
|
||||||
|
accessMode: ReadWriteOnce
|
||||||
|
class: ''
|
||||||
|
size: 1Gi
|
||||||
|
type: Filesystem
|
||||||
|
description: Configure this app storage
|
||||||
|
examples:
|
||||||
|
- volume:
|
||||||
|
accessMode: ReadWriteOnce
|
||||||
|
class: ''
|
||||||
|
size: 1Gi
|
||||||
|
type: Filesystem
|
||||||
|
properties:
|
||||||
|
volume:
|
||||||
|
default:
|
||||||
|
accessMode: ReadWriteOnce
|
||||||
|
class: ''
|
||||||
|
size: 1Gi
|
||||||
|
type: Filesystem
|
||||||
|
properties:
|
||||||
|
accessMode:
|
||||||
|
default: ReadWriteOnce
|
||||||
|
enum:
|
||||||
|
- ReadWriteOnce
|
||||||
|
- ReadOnlyMany
|
||||||
|
- ReadWriteMany
|
||||||
|
type: string
|
||||||
|
class:
|
||||||
|
default: ''
|
||||||
|
type: string
|
||||||
|
size:
|
||||||
|
default: 1Gi
|
||||||
|
type: string
|
||||||
|
type:
|
||||||
|
default: Filesystem
|
||||||
|
enum:
|
||||||
|
- Filesystem
|
||||||
|
- Block
|
||||||
|
type: string
|
||||||
|
type: object
|
||||||
|
type: object
|
||||||
|
issuer:
|
||||||
|
default: letsencrypt-prod
|
||||||
|
examples:
|
||||||
|
- letsencrypt-prod
|
||||||
|
type: string
|
||||||
|
sub_domain:
|
||||||
|
default: dbgate
|
||||||
|
examples:
|
||||||
|
- dbgate
|
||||||
|
type: string
|
||||||
|
redis:
|
||||||
|
default: []
|
||||||
|
examples:
|
||||||
|
- []
|
||||||
|
items:
|
||||||
|
properties:
|
||||||
|
name:
|
||||||
|
default: ''
|
||||||
|
type: string
|
||||||
|
namespace:
|
||||||
|
default: ''
|
||||||
|
type: string
|
||||||
|
type: object
|
||||||
|
type: array
|
||||||
maria:
|
maria:
|
||||||
default: []
|
default: []
|
||||||
examples:
|
examples:
|
||||||
@@ -64,156 +214,6 @@ options:
|
|||||||
type: string
|
type: string
|
||||||
type: object
|
type: object
|
||||||
type: array
|
type: array
|
||||||
issuer:
|
|
||||||
default: letsencrypt-prod
|
|
||||||
examples:
|
|
||||||
- letsencrypt-prod
|
|
||||||
type: string
|
|
||||||
ingress_class:
|
|
||||||
default: traefik
|
|
||||||
examples:
|
|
||||||
- traefik
|
|
||||||
type: string
|
|
||||||
domain:
|
|
||||||
default: your-company
|
|
||||||
examples:
|
|
||||||
- your-company
|
|
||||||
type: string
|
|
||||||
redis:
|
|
||||||
default: []
|
|
||||||
examples:
|
|
||||||
- []
|
|
||||||
items:
|
|
||||||
properties:
|
|
||||||
name:
|
|
||||||
default: ''
|
|
||||||
type: string
|
|
||||||
namespace:
|
|
||||||
default: ''
|
|
||||||
type: string
|
|
||||||
type: object
|
|
||||||
type: array
|
|
||||||
pg:
|
|
||||||
default: []
|
|
||||||
examples:
|
|
||||||
- []
|
|
||||||
items:
|
|
||||||
properties:
|
|
||||||
dbname:
|
|
||||||
default: ''
|
|
||||||
type: string
|
|
||||||
name:
|
|
||||||
default: ''
|
|
||||||
type: string
|
|
||||||
namespace:
|
|
||||||
default: ''
|
|
||||||
type: string
|
|
||||||
secret:
|
|
||||||
properties:
|
|
||||||
key:
|
|
||||||
default: ''
|
|
||||||
type: string
|
|
||||||
name:
|
|
||||||
default: ''
|
|
||||||
type: string
|
|
||||||
type: object
|
|
||||||
username:
|
|
||||||
default: ''
|
|
||||||
type: string
|
|
||||||
type: object
|
|
||||||
type: array
|
|
||||||
sub_domain:
|
|
||||||
default: dbgate
|
|
||||||
examples:
|
|
||||||
- dbgate
|
|
||||||
type: string
|
|
||||||
images:
|
|
||||||
default:
|
|
||||||
dbgate:
|
|
||||||
pullPolicy: IfNotPresent
|
|
||||||
registry: docker.io
|
|
||||||
repository: dbgate/dbgate
|
|
||||||
tag: 5.2.7-alpine
|
|
||||||
examples:
|
|
||||||
- dbgate:
|
|
||||||
pullPolicy: IfNotPresent
|
|
||||||
registry: docker.io
|
|
||||||
repository: dbgate/dbgate
|
|
||||||
tag: 5.2.7-alpine
|
|
||||||
properties:
|
|
||||||
dbgate:
|
|
||||||
default:
|
|
||||||
pullPolicy: IfNotPresent
|
|
||||||
registry: docker.io
|
|
||||||
repository: dbgate/dbgate
|
|
||||||
tag: 5.2.7-alpine
|
|
||||||
properties:
|
|
||||||
pullPolicy:
|
|
||||||
default: IfNotPresent
|
|
||||||
enum:
|
|
||||||
- Always
|
|
||||||
- Never
|
|
||||||
- IfNotPresent
|
|
||||||
type: string
|
|
||||||
registry:
|
|
||||||
default: docker.io
|
|
||||||
type: string
|
|
||||||
repository:
|
|
||||||
default: dbgate/dbgate
|
|
||||||
type: string
|
|
||||||
tag:
|
|
||||||
default: 5.2.7-alpine
|
|
||||||
type: string
|
|
||||||
type: object
|
|
||||||
type: object
|
|
||||||
storage:
|
|
||||||
default:
|
|
||||||
volume:
|
|
||||||
accessMode: ReadWriteOnce
|
|
||||||
class: ''
|
|
||||||
size: 1Gi
|
|
||||||
type: Filesystem
|
|
||||||
description: Configure this app storage
|
|
||||||
examples:
|
|
||||||
- volume:
|
|
||||||
accessMode: ReadWriteOnce
|
|
||||||
class: ''
|
|
||||||
size: 1Gi
|
|
||||||
type: Filesystem
|
|
||||||
properties:
|
|
||||||
volume:
|
|
||||||
default:
|
|
||||||
accessMode: ReadWriteOnce
|
|
||||||
class: ''
|
|
||||||
size: 1Gi
|
|
||||||
type: Filesystem
|
|
||||||
properties:
|
|
||||||
accessMode:
|
|
||||||
default: ReadWriteOnce
|
|
||||||
enum:
|
|
||||||
- ReadWriteOnce
|
|
||||||
- ReadOnlyMany
|
|
||||||
- ReadWriteMany
|
|
||||||
type: string
|
|
||||||
class:
|
|
||||||
default: ''
|
|
||||||
type: string
|
|
||||||
size:
|
|
||||||
default: 1Gi
|
|
||||||
type: string
|
|
||||||
type:
|
|
||||||
default: Filesystem
|
|
||||||
enum:
|
|
||||||
- Filesystem
|
|
||||||
- Block
|
|
||||||
type: string
|
|
||||||
type: object
|
|
||||||
type: object
|
|
||||||
app_group:
|
|
||||||
default: dev
|
|
||||||
examples:
|
|
||||||
- dev
|
|
||||||
type: string
|
|
||||||
domain_name:
|
domain_name:
|
||||||
default: your_company.com
|
default: your_company.com
|
||||||
examples:
|
examples:
|
||||||
@@ -228,7 +228,8 @@ providers:
|
|||||||
authentik: true
|
authentik: true
|
||||||
kubectl: true
|
kubectl: true
|
||||||
postgresql: null
|
postgresql: null
|
||||||
restapi: true
|
mysql: null
|
||||||
http: true
|
restapi: null
|
||||||
|
http: null
|
||||||
gitea: null
|
gitea: null
|
||||||
tfaddtype: null
|
tfaddtype: null
|
||||||
|
|||||||
@@ -7,12 +7,6 @@ locals {
|
|||||||
"Content-Type" = "application/json"
|
"Content-Type" = "application/json"
|
||||||
Authorization = "Bearer ${data.kubernetes_secret_v1.authentik.data["AUTHENTIK_BOOTSTRAP_TOKEN"]}"
|
Authorization = "Bearer ${data.kubernetes_secret_v1.authentik.data["AUTHENTIK_BOOTSTRAP_TOKEN"]}"
|
||||||
}
|
}
|
||||||
service = {
|
|
||||||
"name" = "${var.component}-${var.instance}"
|
|
||||||
"port" = {
|
|
||||||
"number" = 80
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
module "service" {
|
module "service" {
|
||||||
@@ -22,7 +16,6 @@ module "service" {
|
|||||||
namespace = var.namespace
|
namespace = var.namespace
|
||||||
labels = local.common-labels
|
labels = local.common-labels
|
||||||
targets = ["http"]
|
targets = ["http"]
|
||||||
ports = [local.service.port.number]
|
|
||||||
providers = {
|
providers = {
|
||||||
kubectl = kubectl
|
kubectl = kubectl
|
||||||
}
|
}
|
||||||
@@ -38,7 +31,7 @@ module "ingress" {
|
|||||||
labels = local.common-labels
|
labels = local.common-labels
|
||||||
dns_names = local.dns_names
|
dns_names = local.dns_names
|
||||||
middlewares = []
|
middlewares = []
|
||||||
services = [local.service]
|
services = [module.service.default_definition]
|
||||||
providers = {
|
providers = {
|
||||||
kubectl = kubectl
|
kubectl = kubectl
|
||||||
}
|
}
|
||||||
@@ -72,13 +65,3 @@ module "oauth2" {
|
|||||||
authentik = authentik
|
authentik = authentik
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
provider "restapi" {
|
|
||||||
uri = "http://authentik.${var.domain}-auth.svc/api/v3/"
|
|
||||||
headers = local.request_headers
|
|
||||||
create_method = "PATCH"
|
|
||||||
update_method = "PATCH"
|
|
||||||
destroy_method = "PATCH"
|
|
||||||
write_returns_object = true
|
|
||||||
id_attribute = "name"
|
|
||||||
}
|
|
||||||
|
|||||||
@@ -77,7 +77,7 @@ spec:
|
|||||||
- echo
|
- echo
|
||||||
- SUCCESS
|
- SUCCESS
|
||||||
image: "${var.images.dolibarr.registry}/${var.images.dolibarr.repository}:${var.images.dolibarr.tag}"
|
image: "${var.images.dolibarr.registry}/${var.images.dolibarr.repository}:${var.images.dolibarr.tag}"
|
||||||
imagePullPolicy: "${var.images.dolibarr.pullPolicy}"
|
imagePullPolicy: "${var.images.dolibarr.pull_policy}"
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: shared-files
|
- name: shared-files
|
||||||
mountPath: /var/www/
|
mountPath: /var/www/
|
||||||
@@ -109,7 +109,7 @@ spec:
|
|||||||
command:
|
command:
|
||||||
- "/usr/local/sbin/php-fpm"
|
- "/usr/local/sbin/php-fpm"
|
||||||
image: "${var.images.dolibarr.registry}/${var.images.dolibarr.repository}:${var.images.dolibarr.tag}"
|
image: "${var.images.dolibarr.registry}/${var.images.dolibarr.repository}:${var.images.dolibarr.tag}"
|
||||||
imagePullPolicy: "${var.images.dolibarr.pullPolicy}"
|
imagePullPolicy: "${var.images.dolibarr.pull_policy}"
|
||||||
resources: ${jsonencode(var.resources)}
|
resources: ${jsonencode(var.resources)}
|
||||||
readinessProbe:
|
readinessProbe:
|
||||||
httpGet:
|
httpGet:
|
||||||
@@ -160,13 +160,13 @@ spec:
|
|||||||
- "-f"
|
- "-f"
|
||||||
- "/var/logs/dolibarr.log"
|
- "/var/logs/dolibarr.log"
|
||||||
image: "${var.images.dolibarr.registry}/${var.images.dolibarr.repository}:${var.images.dolibarr.tag}"
|
image: "${var.images.dolibarr.registry}/${var.images.dolibarr.repository}:${var.images.dolibarr.tag}"
|
||||||
imagePullPolicy: "${var.images.dolibarr.pullPolicy}"
|
imagePullPolicy: "${var.images.dolibarr.pull_policy}"
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: shared-logs
|
- name: shared-logs
|
||||||
mountPath: /var/logs/
|
mountPath: /var/logs/
|
||||||
- name: nginx
|
- name: nginx
|
||||||
image: "${var.images.nginx.registry}/${var.images.nginx.repository}:${var.images.nginx.tag}"
|
image: "${var.images.nginx.registry}/${var.images.nginx.repository}:${var.images.nginx.tag}"
|
||||||
imagePullPolicy: "${var.images.nginx.pullPolicy}"
|
imagePullPolicy: "${var.images.nginx.pull_policy}"
|
||||||
securityContext:
|
securityContext:
|
||||||
runAsNonRoot: true
|
runAsNonRoot: true
|
||||||
readOnlyRootFilesystem: true
|
readOnlyRootFilesystem: true
|
||||||
|
|||||||
@@ -9,12 +9,12 @@ options:
|
|||||||
images:
|
images:
|
||||||
default:
|
default:
|
||||||
dolibarr:
|
dolibarr:
|
||||||
pullPolicy: IfNotPresent
|
pull_policy: IfNotPresent
|
||||||
registry: docker.io
|
registry: docker.io
|
||||||
repository: sebt3/dolibarr
|
repository: sebt3/dolibarr
|
||||||
tag: 18.0.2
|
tag: 18.0.2
|
||||||
nginx:
|
nginx:
|
||||||
pullPolicy: IfNotPresent
|
pull_policy: IfNotPresent
|
||||||
registry: docker.io
|
registry: docker.io
|
||||||
repository: nginx
|
repository: nginx
|
||||||
tag: alpine
|
tag: alpine
|
||||||
@@ -23,23 +23,23 @@ options:
|
|||||||
repository: cloudnative-pg/postgresql
|
repository: cloudnative-pg/postgresql
|
||||||
tag: 15.3
|
tag: 15.3
|
||||||
redis:
|
redis:
|
||||||
pullPolicy: IfNotPresent
|
pull_policy: IfNotPresent
|
||||||
registry: quay.io
|
registry: quay.io
|
||||||
repository: opstree/redis
|
repository: opstree/redis
|
||||||
tag: v7.0.12
|
tag: v7.0.12
|
||||||
redis_exporter:
|
redis_exporter:
|
||||||
pullPolicy: IfNotPresent
|
pull_policy: IfNotPresent
|
||||||
registry: quay.io
|
registry: quay.io
|
||||||
repository: opstree/redis-exporter
|
repository: opstree/redis-exporter
|
||||||
tag: v1.44.0
|
tag: v1.44.0
|
||||||
examples:
|
examples:
|
||||||
- dolibarr:
|
- dolibarr:
|
||||||
pullPolicy: IfNotPresent
|
pull_policy: IfNotPresent
|
||||||
registry: docker.io
|
registry: docker.io
|
||||||
repository: sebt3/dolibarr
|
repository: sebt3/dolibarr
|
||||||
tag: 18.0.2
|
tag: 18.0.2
|
||||||
nginx:
|
nginx:
|
||||||
pullPolicy: IfNotPresent
|
pull_policy: IfNotPresent
|
||||||
registry: docker.io
|
registry: docker.io
|
||||||
repository: nginx
|
repository: nginx
|
||||||
tag: alpine
|
tag: alpine
|
||||||
@@ -48,24 +48,24 @@ options:
|
|||||||
repository: cloudnative-pg/postgresql
|
repository: cloudnative-pg/postgresql
|
||||||
tag: 15.3
|
tag: 15.3
|
||||||
redis:
|
redis:
|
||||||
pullPolicy: IfNotPresent
|
pull_policy: IfNotPresent
|
||||||
registry: quay.io
|
registry: quay.io
|
||||||
repository: opstree/redis
|
repository: opstree/redis
|
||||||
tag: v7.0.12
|
tag: v7.0.12
|
||||||
redis_exporter:
|
redis_exporter:
|
||||||
pullPolicy: IfNotPresent
|
pull_policy: IfNotPresent
|
||||||
registry: quay.io
|
registry: quay.io
|
||||||
repository: opstree/redis-exporter
|
repository: opstree/redis-exporter
|
||||||
tag: v1.44.0
|
tag: v1.44.0
|
||||||
properties:
|
properties:
|
||||||
dolibarr:
|
dolibarr:
|
||||||
default:
|
default:
|
||||||
pullPolicy: IfNotPresent
|
pull_policy: IfNotPresent
|
||||||
registry: docker.io
|
registry: docker.io
|
||||||
repository: sebt3/dolibarr
|
repository: sebt3/dolibarr
|
||||||
tag: 18.0.2
|
tag: 18.0.2
|
||||||
properties:
|
properties:
|
||||||
pullPolicy:
|
pull_policy:
|
||||||
default: IfNotPresent
|
default: IfNotPresent
|
||||||
type: string
|
type: string
|
||||||
registry:
|
registry:
|
||||||
@@ -80,12 +80,12 @@ options:
|
|||||||
type: object
|
type: object
|
||||||
nginx:
|
nginx:
|
||||||
default:
|
default:
|
||||||
pullPolicy: IfNotPresent
|
pull_policy: IfNotPresent
|
||||||
registry: docker.io
|
registry: docker.io
|
||||||
repository: nginx
|
repository: nginx
|
||||||
tag: alpine
|
tag: alpine
|
||||||
properties:
|
properties:
|
||||||
pullPolicy:
|
pull_policy:
|
||||||
default: IfNotPresent
|
default: IfNotPresent
|
||||||
type: string
|
type: string
|
||||||
registry:
|
registry:
|
||||||
@@ -116,12 +116,12 @@ options:
|
|||||||
type: object
|
type: object
|
||||||
redis:
|
redis:
|
||||||
default:
|
default:
|
||||||
pullPolicy: IfNotPresent
|
pull_policy: IfNotPresent
|
||||||
registry: quay.io
|
registry: quay.io
|
||||||
repository: opstree/redis
|
repository: opstree/redis
|
||||||
tag: v7.0.12
|
tag: v7.0.12
|
||||||
properties:
|
properties:
|
||||||
pullPolicy:
|
pull_policy:
|
||||||
default: IfNotPresent
|
default: IfNotPresent
|
||||||
type: string
|
type: string
|
||||||
registry:
|
registry:
|
||||||
@@ -136,12 +136,12 @@ options:
|
|||||||
type: object
|
type: object
|
||||||
redis_exporter:
|
redis_exporter:
|
||||||
default:
|
default:
|
||||||
pullPolicy: IfNotPresent
|
pull_policy: IfNotPresent
|
||||||
registry: quay.io
|
registry: quay.io
|
||||||
repository: opstree/redis-exporter
|
repository: opstree/redis-exporter
|
||||||
tag: v1.44.0
|
tag: v1.44.0
|
||||||
properties:
|
properties:
|
||||||
pullPolicy:
|
pull_policy:
|
||||||
default: IfNotPresent
|
default: IfNotPresent
|
||||||
type: string
|
type: string
|
||||||
registry:
|
registry:
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ resource "kubectl_manifest" "dolibarr_redis" {
|
|||||||
spec:
|
spec:
|
||||||
kubernetesConfig:
|
kubernetesConfig:
|
||||||
image: "${var.images.redis.registry}/${var.images.redis.repository}:${var.images.redis.tag}"
|
image: "${var.images.redis.registry}/${var.images.redis.repository}:${var.images.redis.tag}"
|
||||||
imagePullPolicy: "${var.images.redis.pullPolicy}"
|
imagePullPolicy: "${var.images.redis.pull_policy}"
|
||||||
storage:
|
storage:
|
||||||
volumeClaimTemplate:
|
volumeClaimTemplate:
|
||||||
spec:
|
spec:
|
||||||
|
|||||||
@@ -101,7 +101,7 @@ data "kustomization_overlay" "data" {
|
|||||||
initContainers:
|
initContainers:
|
||||||
- name: init-directories
|
- name: init-directories
|
||||||
image: "${var.images.gitea.registry}/${var.images.gitea.repository}:${var.images.gitea.tag}"
|
image: "${var.images.gitea.registry}/${var.images.gitea.repository}:${var.images.gitea.tag}"
|
||||||
imagePullPolicy: "${var.images.gitea.pullPolicy}"
|
imagePullPolicy: "${var.images.gitea.pull_policy}"
|
||||||
- name: init-app-ini
|
- name: init-app-ini
|
||||||
image: "${var.images.gitea.registry}/${var.images.gitea.repository}:${var.images.gitea.tag}"
|
image: "${var.images.gitea.registry}/${var.images.gitea.repository}:${var.images.gitea.tag}"
|
||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: IfNotPresent
|
||||||
|
|||||||
@@ -9,101 +9,29 @@ metadata:
|
|||||||
A painless self-hosted Git service.
|
A painless self-hosted Git service.
|
||||||
Gitea is a community managed lightweight code hosting solution written in Go. It is published under the MIT license.
|
Gitea is a community managed lightweight code hosting solution written in Go. It is published under the MIT license.
|
||||||
options:
|
options:
|
||||||
theme:
|
ingress_class:
|
||||||
default: gitea-modern
|
default: traefik
|
||||||
examples:
|
examples:
|
||||||
- gitea-modern
|
- traefik
|
||||||
type: string
|
type: string
|
||||||
storage:
|
push-create:
|
||||||
default:
|
default:
|
||||||
postgres:
|
org: 'true'
|
||||||
size: 10Gi
|
private: 'false'
|
||||||
redis:
|
user: 'true'
|
||||||
size: 2Gi
|
|
||||||
volume:
|
|
||||||
accessMode: ReadWriteOnce
|
|
||||||
class: ''
|
|
||||||
size: 10Gi
|
|
||||||
type: Filesystem
|
|
||||||
description: Configure this app storage
|
|
||||||
examples:
|
examples:
|
||||||
- postgres:
|
- org: 'true'
|
||||||
size: 10Gi
|
private: 'false'
|
||||||
redis:
|
user: 'true'
|
||||||
size: 2Gi
|
|
||||||
volume:
|
|
||||||
accessMode: ReadWriteOnce
|
|
||||||
class: ''
|
|
||||||
size: 10Gi
|
|
||||||
type: Filesystem
|
|
||||||
properties:
|
properties:
|
||||||
postgres:
|
org:
|
||||||
default:
|
default: 'true'
|
||||||
size: 10Gi
|
|
||||||
properties:
|
|
||||||
size:
|
|
||||||
default: 10Gi
|
|
||||||
type: string
|
type: string
|
||||||
type: object
|
private:
|
||||||
redis:
|
default: 'false'
|
||||||
default:
|
|
||||||
size: 2Gi
|
|
||||||
properties:
|
|
||||||
size:
|
|
||||||
default: 2Gi
|
|
||||||
type: string
|
type: string
|
||||||
type: object
|
user:
|
||||||
volume:
|
default: 'true'
|
||||||
default:
|
|
||||||
accessMode: ReadWriteOnce
|
|
||||||
class: ''
|
|
||||||
size: 10Gi
|
|
||||||
type: Filesystem
|
|
||||||
properties:
|
|
||||||
accessMode:
|
|
||||||
default: ReadWriteOnce
|
|
||||||
enum:
|
|
||||||
- ReadWriteOnce
|
|
||||||
- ReadOnlyMany
|
|
||||||
- ReadWriteMany
|
|
||||||
type: string
|
|
||||||
class:
|
|
||||||
default: ''
|
|
||||||
type: string
|
|
||||||
size:
|
|
||||||
default: 10Gi
|
|
||||||
type: string
|
|
||||||
type:
|
|
||||||
default: Filesystem
|
|
||||||
enum:
|
|
||||||
- Filesystem
|
|
||||||
- Block
|
|
||||||
type: string
|
|
||||||
type: object
|
|
||||||
type: object
|
|
||||||
domain_name:
|
|
||||||
default: your_company.com
|
|
||||||
examples:
|
|
||||||
- your_company.com
|
|
||||||
type: string
|
|
||||||
domain:
|
|
||||||
default: your-company
|
|
||||||
examples:
|
|
||||||
- your-company
|
|
||||||
type: string
|
|
||||||
admin:
|
|
||||||
default:
|
|
||||||
email: git-admin@git.your_company.com
|
|
||||||
name: gitea_admin
|
|
||||||
examples:
|
|
||||||
- email: git-admin@git.your_company.com
|
|
||||||
name: gitea_admin
|
|
||||||
properties:
|
|
||||||
email:
|
|
||||||
default: git-admin@git.your_company.com
|
|
||||||
type: string
|
|
||||||
name:
|
|
||||||
default: gitea_admin
|
|
||||||
type: string
|
type: string
|
||||||
type: object
|
type: object
|
||||||
disable-registration:
|
disable-registration:
|
||||||
@@ -111,11 +39,6 @@ options:
|
|||||||
examples:
|
examples:
|
||||||
- true
|
- true
|
||||||
type: boolean
|
type: boolean
|
||||||
replicas:
|
|
||||||
default: 1
|
|
||||||
examples:
|
|
||||||
- 1
|
|
||||||
type: integer
|
|
||||||
redis:
|
redis:
|
||||||
default:
|
default:
|
||||||
exporter:
|
exporter:
|
||||||
@@ -133,46 +56,46 @@ options:
|
|||||||
type: boolean
|
type: boolean
|
||||||
type: object
|
type: object
|
||||||
type: object
|
type: object
|
||||||
sub_domain:
|
default-branch:
|
||||||
default: git
|
default: main
|
||||||
examples:
|
examples:
|
||||||
- git
|
- main
|
||||||
type: string
|
type: string
|
||||||
timezone:
|
|
||||||
default: Europe/Paris
|
|
||||||
examples:
|
|
||||||
- Europe/Paris
|
|
||||||
type: string
|
|
||||||
postgres:
|
|
||||||
default:
|
|
||||||
replicas: 1
|
|
||||||
examples:
|
|
||||||
- replicas: 1
|
|
||||||
properties:
|
|
||||||
replicas:
|
|
||||||
default: 1
|
|
||||||
type: integer
|
|
||||||
type: object
|
|
||||||
ssh-sub_domain:
|
|
||||||
default: git
|
|
||||||
examples:
|
|
||||||
- git
|
|
||||||
type: string
|
|
||||||
ingress_class:
|
|
||||||
default: traefik
|
|
||||||
examples:
|
|
||||||
- traefik
|
|
||||||
type: string
|
|
||||||
ssh-port:
|
|
||||||
default: 2222
|
|
||||||
examples:
|
|
||||||
- 2222
|
|
||||||
type: integer
|
|
||||||
issuer:
|
issuer:
|
||||||
default: letsencrypt-prod
|
default: letsencrypt-prod
|
||||||
examples:
|
examples:
|
||||||
- letsencrypt-prod
|
- letsencrypt-prod
|
||||||
type: string
|
type: string
|
||||||
|
admin:
|
||||||
|
default:
|
||||||
|
email: git-admin@git.your_company.com
|
||||||
|
name: gitea_admin
|
||||||
|
examples:
|
||||||
|
- email: git-admin@git.your_company.com
|
||||||
|
name: gitea_admin
|
||||||
|
properties:
|
||||||
|
email:
|
||||||
|
default: git-admin@git.your_company.com
|
||||||
|
type: string
|
||||||
|
name:
|
||||||
|
default: gitea_admin
|
||||||
|
type: string
|
||||||
|
type: object
|
||||||
|
release:
|
||||||
|
default: 8.3.0
|
||||||
|
examples:
|
||||||
|
- 8.3.0
|
||||||
|
type: string
|
||||||
|
sub_domain:
|
||||||
|
default: git
|
||||||
|
examples:
|
||||||
|
- git
|
||||||
|
type: string
|
||||||
|
replicas:
|
||||||
|
default: 1
|
||||||
|
examples:
|
||||||
|
- 1
|
||||||
|
type: integer
|
||||||
backups:
|
backups:
|
||||||
default:
|
default:
|
||||||
enable: false
|
enable: false
|
||||||
@@ -279,55 +202,92 @@ options:
|
|||||||
default: false
|
default: false
|
||||||
type: boolean
|
type: boolean
|
||||||
type: object
|
type: object
|
||||||
push-create:
|
storage:
|
||||||
default:
|
default:
|
||||||
org: 'true'
|
postgres:
|
||||||
private: 'false'
|
size: 10Gi
|
||||||
user: 'true'
|
redis:
|
||||||
|
size: 2Gi
|
||||||
|
volume:
|
||||||
|
accessMode: ReadWriteOnce
|
||||||
|
class: ''
|
||||||
|
size: 20Gi
|
||||||
|
type: Filesystem
|
||||||
|
description: Configure this app storage
|
||||||
examples:
|
examples:
|
||||||
- org: 'true'
|
- postgres:
|
||||||
private: 'false'
|
size: 10Gi
|
||||||
user: 'true'
|
redis:
|
||||||
|
size: 2Gi
|
||||||
|
volume:
|
||||||
|
accessMode: ReadWriteOnce
|
||||||
|
class: ''
|
||||||
|
size: 20Gi
|
||||||
|
type: Filesystem
|
||||||
properties:
|
properties:
|
||||||
org:
|
postgres:
|
||||||
default: 'true'
|
default:
|
||||||
type: string
|
size: 10Gi
|
||||||
private:
|
properties:
|
||||||
default: 'false'
|
size:
|
||||||
type: string
|
default: 10Gi
|
||||||
user:
|
|
||||||
default: 'true'
|
|
||||||
type: string
|
type: string
|
||||||
type: object
|
type: object
|
||||||
webhook:
|
redis:
|
||||||
default:
|
default:
|
||||||
allowed-hosts: private
|
size: 2Gi
|
||||||
skip-tls-verify: false
|
|
||||||
examples:
|
|
||||||
- allowed-hosts: private
|
|
||||||
skip-tls-verify: false
|
|
||||||
properties:
|
properties:
|
||||||
allowed-hosts:
|
size:
|
||||||
default: private
|
default: 2Gi
|
||||||
type: string
|
type: string
|
||||||
skip-tls-verify:
|
|
||||||
default: false
|
|
||||||
type: boolean
|
|
||||||
type: object
|
type: object
|
||||||
default-branch:
|
volume:
|
||||||
default: main
|
default:
|
||||||
examples:
|
accessMode: ReadWriteOnce
|
||||||
- main
|
class: ''
|
||||||
|
size: 20Gi
|
||||||
|
type: Filesystem
|
||||||
|
properties:
|
||||||
|
accessMode:
|
||||||
|
default: ReadWriteOnce
|
||||||
|
enum:
|
||||||
|
- ReadWriteOnce
|
||||||
|
- ReadOnlyMany
|
||||||
|
- ReadWriteMany
|
||||||
type: string
|
type: string
|
||||||
|
class:
|
||||||
|
default: ''
|
||||||
|
type: string
|
||||||
|
size:
|
||||||
|
default: 20Gi
|
||||||
|
type: string
|
||||||
|
type:
|
||||||
|
default: Filesystem
|
||||||
|
enum:
|
||||||
|
- Filesystem
|
||||||
|
- Block
|
||||||
|
type: string
|
||||||
|
type: object
|
||||||
|
type: object
|
||||||
app_group:
|
app_group:
|
||||||
default: dev
|
default: dev
|
||||||
examples:
|
examples:
|
||||||
- dev
|
- dev
|
||||||
type: string
|
type: string
|
||||||
release:
|
postgres:
|
||||||
default: 8.3.0
|
default:
|
||||||
|
replicas: 1
|
||||||
examples:
|
examples:
|
||||||
- 8.3.0
|
- replicas: 1
|
||||||
|
properties:
|
||||||
|
replicas:
|
||||||
|
default: 1
|
||||||
|
type: integer
|
||||||
|
type: object
|
||||||
|
theme:
|
||||||
|
default: gitea-modern
|
||||||
|
examples:
|
||||||
|
- gitea-modern
|
||||||
type: string
|
type: string
|
||||||
load-balancer:
|
load-balancer:
|
||||||
default:
|
default:
|
||||||
@@ -339,10 +299,40 @@ options:
|
|||||||
default: ''
|
default: ''
|
||||||
type: string
|
type: string
|
||||||
type: object
|
type: object
|
||||||
|
domain:
|
||||||
|
default: your-company
|
||||||
|
examples:
|
||||||
|
- your-company
|
||||||
|
type: string
|
||||||
|
webhook:
|
||||||
|
default:
|
||||||
|
allowed-hosts: private
|
||||||
|
skip-tls-verify: false
|
||||||
|
documentation: https://docs.gitea.com/next/administration/config-cheat-sheet#webhook-webhook
|
||||||
|
examples:
|
||||||
|
- allowed-hosts: private
|
||||||
|
skip-tls-verify: false
|
||||||
|
properties:
|
||||||
|
allowed-hosts:
|
||||||
|
default: private
|
||||||
|
examples:
|
||||||
|
- external
|
||||||
|
- loopback
|
||||||
|
- '*.yourdomain.com'
|
||||||
|
type: string
|
||||||
|
skip-tls-verify:
|
||||||
|
default: false
|
||||||
|
type: boolean
|
||||||
|
type: object
|
||||||
|
domain_name:
|
||||||
|
default: your_company.com
|
||||||
|
examples:
|
||||||
|
- your_company.com
|
||||||
|
type: string
|
||||||
images:
|
images:
|
||||||
default:
|
default:
|
||||||
gitea:
|
gitea:
|
||||||
pullPolicy: IfNotPresent
|
pull_policy: IfNotPresent
|
||||||
registry: docker.io
|
registry: docker.io
|
||||||
repository: gitea/gitea
|
repository: gitea/gitea
|
||||||
tag: 1.20.5-rootless
|
tag: 1.20.5-rootless
|
||||||
@@ -351,18 +341,18 @@ options:
|
|||||||
repository: cloudnative-pg/postgresql
|
repository: cloudnative-pg/postgresql
|
||||||
tag: 15.3
|
tag: 15.3
|
||||||
redis:
|
redis:
|
||||||
pullPolicy: IfNotPresent
|
pull_policy: IfNotPresent
|
||||||
registry: quay.io
|
registry: quay.io
|
||||||
repository: opstree/redis
|
repository: opstree/redis
|
||||||
tag: v7.0.12
|
tag: v7.0.12
|
||||||
redis_exporter:
|
redis_exporter:
|
||||||
pullPolicy: IfNotPresent
|
pull_policy: IfNotPresent
|
||||||
registry: quay.io
|
registry: quay.io
|
||||||
repository: opstree/redis-exporter
|
repository: opstree/redis-exporter
|
||||||
tag: v1.44.0
|
tag: v1.44.0
|
||||||
examples:
|
examples:
|
||||||
- gitea:
|
- gitea:
|
||||||
pullPolicy: IfNotPresent
|
pull_policy: IfNotPresent
|
||||||
registry: docker.io
|
registry: docker.io
|
||||||
repository: gitea/gitea
|
repository: gitea/gitea
|
||||||
tag: 1.20.5-rootless
|
tag: 1.20.5-rootless
|
||||||
@@ -371,24 +361,24 @@ options:
|
|||||||
repository: cloudnative-pg/postgresql
|
repository: cloudnative-pg/postgresql
|
||||||
tag: 15.3
|
tag: 15.3
|
||||||
redis:
|
redis:
|
||||||
pullPolicy: IfNotPresent
|
pull_policy: IfNotPresent
|
||||||
registry: quay.io
|
registry: quay.io
|
||||||
repository: opstree/redis
|
repository: opstree/redis
|
||||||
tag: v7.0.12
|
tag: v7.0.12
|
||||||
redis_exporter:
|
redis_exporter:
|
||||||
pullPolicy: IfNotPresent
|
pull_policy: IfNotPresent
|
||||||
registry: quay.io
|
registry: quay.io
|
||||||
repository: opstree/redis-exporter
|
repository: opstree/redis-exporter
|
||||||
tag: v1.44.0
|
tag: v1.44.0
|
||||||
properties:
|
properties:
|
||||||
gitea:
|
gitea:
|
||||||
default:
|
default:
|
||||||
pullPolicy: IfNotPresent
|
pull_policy: IfNotPresent
|
||||||
registry: docker.io
|
registry: docker.io
|
||||||
repository: gitea/gitea
|
repository: gitea/gitea
|
||||||
tag: 1.20.5-rootless
|
tag: 1.20.5-rootless
|
||||||
properties:
|
properties:
|
||||||
pullPolicy:
|
pull_policy:
|
||||||
default: IfNotPresent
|
default: IfNotPresent
|
||||||
enum:
|
enum:
|
||||||
- Always
|
- Always
|
||||||
@@ -423,12 +413,12 @@ options:
|
|||||||
type: object
|
type: object
|
||||||
redis:
|
redis:
|
||||||
default:
|
default:
|
||||||
pullPolicy: IfNotPresent
|
pull_policy: IfNotPresent
|
||||||
registry: quay.io
|
registry: quay.io
|
||||||
repository: opstree/redis
|
repository: opstree/redis
|
||||||
tag: v7.0.12
|
tag: v7.0.12
|
||||||
properties:
|
properties:
|
||||||
pullPolicy:
|
pull_policy:
|
||||||
default: IfNotPresent
|
default: IfNotPresent
|
||||||
enum:
|
enum:
|
||||||
- Always
|
- Always
|
||||||
@@ -447,12 +437,12 @@ options:
|
|||||||
type: object
|
type: object
|
||||||
redis_exporter:
|
redis_exporter:
|
||||||
default:
|
default:
|
||||||
pullPolicy: IfNotPresent
|
pull_policy: IfNotPresent
|
||||||
registry: quay.io
|
registry: quay.io
|
||||||
repository: opstree/redis-exporter
|
repository: opstree/redis-exporter
|
||||||
tag: v1.44.0
|
tag: v1.44.0
|
||||||
properties:
|
properties:
|
||||||
pullPolicy:
|
pull_policy:
|
||||||
default: IfNotPresent
|
default: IfNotPresent
|
||||||
enum:
|
enum:
|
||||||
- Always
|
- Always
|
||||||
@@ -470,6 +460,21 @@ options:
|
|||||||
type: string
|
type: string
|
||||||
type: object
|
type: object
|
||||||
type: object
|
type: object
|
||||||
|
ssh-sub_domain:
|
||||||
|
default: git
|
||||||
|
examples:
|
||||||
|
- git
|
||||||
|
type: string
|
||||||
|
timezone:
|
||||||
|
default: Europe/Paris
|
||||||
|
examples:
|
||||||
|
- Europe/Paris
|
||||||
|
type: string
|
||||||
|
ssh-port:
|
||||||
|
default: 2222
|
||||||
|
examples:
|
||||||
|
- 2222
|
||||||
|
type: integer
|
||||||
dependencies:
|
dependencies:
|
||||||
- dist: null
|
- dist: null
|
||||||
category: share
|
category: share
|
||||||
@@ -485,6 +490,7 @@ providers:
|
|||||||
authentik: true
|
authentik: true
|
||||||
kubectl: true
|
kubectl: true
|
||||||
postgresql: null
|
postgresql: null
|
||||||
|
mysql: null
|
||||||
restapi: true
|
restapi: true
|
||||||
http: true
|
http: true
|
||||||
gitea: null
|
gitea: null
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ resource "kubectl_manifest" "prj_redis" {
|
|||||||
spec:
|
spec:
|
||||||
kubernetesConfig:
|
kubernetesConfig:
|
||||||
image: "${var.images.redis.registry}/${var.images.redis.repository}:${var.images.redis.tag}"
|
image: "${var.images.redis.registry}/${var.images.redis.repository}:${var.images.redis.tag}"
|
||||||
imagePullPolicy: "${var.images.redis.pullPolicy}"
|
imagePullPolicy: "${var.images.redis.pull_policy}"
|
||||||
storage:
|
storage:
|
||||||
volumeClaimTemplate:
|
volumeClaimTemplate:
|
||||||
spec:
|
spec:
|
||||||
|
|||||||
@@ -29,7 +29,7 @@ resource "kubectl_manifest" "deploy" {
|
|||||||
- name: BRIDGE_USER_AUTH
|
- name: BRIDGE_USER_AUTH
|
||||||
value: disabled
|
value: disabled
|
||||||
image: "${var.images.gramo.registry}/${var.images.gramo.repository}:${var.images.gramo.tag}"
|
image: "${var.images.gramo.registry}/${var.images.gramo.repository}:${var.images.gramo.tag}"
|
||||||
imagePullPolicy: "${var.images.gramo.pullPolicy}"
|
imagePullPolicy: "${var.images.gramo.pull_policy}"
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 3000
|
- containerPort: 3000
|
||||||
name: http
|
name: http
|
||||||
|
|||||||
@@ -54,25 +54,25 @@ options:
|
|||||||
images:
|
images:
|
||||||
default:
|
default:
|
||||||
gramo:
|
gramo:
|
||||||
pullPolicy: IfNotPresent
|
pull_policy: IfNotPresent
|
||||||
registry: docker.io
|
registry: docker.io
|
||||||
repository: sebt3/gramo
|
repository: sebt3/gramo
|
||||||
tag: 0.0.2
|
tag: 0.0.2
|
||||||
examples:
|
examples:
|
||||||
- gramo:
|
- gramo:
|
||||||
pullPolicy: IfNotPresent
|
pull_policy: IfNotPresent
|
||||||
registry: docker.io
|
registry: docker.io
|
||||||
repository: sebt3/gramo
|
repository: sebt3/gramo
|
||||||
tag: 0.0.2
|
tag: 0.0.2
|
||||||
properties:
|
properties:
|
||||||
gramo:
|
gramo:
|
||||||
default:
|
default:
|
||||||
pullPolicy: IfNotPresent
|
pull_policy: IfNotPresent
|
||||||
registry: docker.io
|
registry: docker.io
|
||||||
repository: sebt3/gramo
|
repository: sebt3/gramo
|
||||||
tag: 0.0.2
|
tag: 0.0.2
|
||||||
properties:
|
properties:
|
||||||
pullPolicy:
|
pull_policy:
|
||||||
default: IfNotPresent
|
default: IfNotPresent
|
||||||
enum:
|
enum:
|
||||||
- Always
|
- Always
|
||||||
|
|||||||
@@ -7,6 +7,7 @@ resource "kubectl_manifest" "config" {
|
|||||||
namespace: "${var.namespace}"
|
namespace: "${var.namespace}"
|
||||||
labels: ${jsonencode(local.common-labels)}
|
labels: ${jsonencode(local.common-labels)}
|
||||||
data:
|
data:
|
||||||
|
NODE_EXTRA_CA_CERTS: /etc/local-ca/ca.crt
|
||||||
INVITE_ONLY_SIGNUP: "true"
|
INVITE_ONLY_SIGNUP: "true"
|
||||||
TELEMETRY_ENABLED: "false"
|
TELEMETRY_ENABLED: "false"
|
||||||
REDIS_URL: "${module.redis.url}"
|
REDIS_URL: "${module.redis.url}"
|
||||||
|
|||||||
@@ -20,7 +20,7 @@ resource "kubectl_manifest" "deploy" {
|
|||||||
containers:
|
containers:
|
||||||
- name: infisical-backend
|
- name: infisical-backend
|
||||||
image: "${var.images.infisical.registry}/${var.images.infisical.repository}:${var.images.infisical.tag}"
|
image: "${var.images.infisical.registry}/${var.images.infisical.repository}:${var.images.infisical.tag}"
|
||||||
imagePullPolicy: "${var.images.infisical.pullPolicy}"
|
imagePullPolicy: "${var.images.infisical.pull_policy}"
|
||||||
readinessProbe:
|
readinessProbe:
|
||||||
httpGet:
|
httpGet:
|
||||||
path: /api/status
|
path: /api/status
|
||||||
@@ -36,5 +36,15 @@ resource "kubectl_manifest" "deploy" {
|
|||||||
name: "${kubectl_manifest.config.name}"
|
name: "${kubectl_manifest.config.name}"
|
||||||
- secretRef:
|
- secretRef:
|
||||||
name: "${kubectl_manifest.secret.name}"
|
name: "${kubectl_manifest.secret.name}"
|
||||||
|
volumeMounts:
|
||||||
|
- name: certs
|
||||||
|
mountPath: /etc/local-ca
|
||||||
|
readOnly: true
|
||||||
|
restartPolicy: Always
|
||||||
|
volumes:
|
||||||
|
- name: certs
|
||||||
|
secret:
|
||||||
|
secretName: "${module.ingress.sercret_name}"
|
||||||
|
defaultMode: 0444
|
||||||
EOF
|
EOF
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -6,63 +6,90 @@ metadata:
|
|||||||
name: infisical
|
name: infisical
|
||||||
description: null
|
description: null
|
||||||
options:
|
options:
|
||||||
|
sub_domain:
|
||||||
|
default: infisical
|
||||||
|
examples:
|
||||||
|
- infisical
|
||||||
|
type: string
|
||||||
replicas:
|
replicas:
|
||||||
default: 1
|
default: 1
|
||||||
examples:
|
examples:
|
||||||
- 1
|
- 1
|
||||||
type: integer
|
type: integer
|
||||||
domain:
|
app_group:
|
||||||
default: your-company
|
default: apps
|
||||||
examples:
|
examples:
|
||||||
- your-company
|
- apps
|
||||||
type: string
|
type: string
|
||||||
domain_name:
|
redis:
|
||||||
default: your-company.com
|
default:
|
||||||
|
exporter:
|
||||||
|
enabled: true
|
||||||
examples:
|
examples:
|
||||||
- your-company.com
|
- exporter:
|
||||||
|
enabled: true
|
||||||
|
properties:
|
||||||
|
exporter:
|
||||||
|
default:
|
||||||
|
enabled: true
|
||||||
|
properties:
|
||||||
|
enabled:
|
||||||
|
default: true
|
||||||
|
type: boolean
|
||||||
|
type: object
|
||||||
|
type: object
|
||||||
|
sso_vynil:
|
||||||
|
default: true
|
||||||
|
examples:
|
||||||
|
- true
|
||||||
|
type: boolean
|
||||||
|
issuer:
|
||||||
|
default: letsencrypt-prod
|
||||||
|
examples:
|
||||||
|
- letsencrypt-prod
|
||||||
type: string
|
type: string
|
||||||
images:
|
images:
|
||||||
default:
|
default:
|
||||||
infisical:
|
infisical:
|
||||||
pullPolicy: IfNotPresent
|
pull_policy: IfNotPresent
|
||||||
registry: docker.io
|
registry: docker.io
|
||||||
repository: infisical/infisical
|
repository: infisical/infisical
|
||||||
tag: latest
|
tag: latest
|
||||||
redis:
|
redis:
|
||||||
pullPolicy: IfNotPresent
|
pull_policy: IfNotPresent
|
||||||
registry: quay.io
|
registry: quay.io
|
||||||
repository: opstree/redis
|
repository: opstree/redis
|
||||||
tag: v7.0.12
|
tag: v7.0.12
|
||||||
redis_exporter:
|
redis_exporter:
|
||||||
pullPolicy: IfNotPresent
|
pull_policy: IfNotPresent
|
||||||
registry: quay.io
|
registry: quay.io
|
||||||
repository: opstree/redis-exporter
|
repository: opstree/redis-exporter
|
||||||
tag: v1.44.0
|
tag: v1.44.0
|
||||||
examples:
|
examples:
|
||||||
- infisical:
|
- infisical:
|
||||||
pullPolicy: IfNotPresent
|
pull_policy: IfNotPresent
|
||||||
registry: docker.io
|
registry: docker.io
|
||||||
repository: infisical/infisical
|
repository: infisical/infisical
|
||||||
tag: latest
|
tag: latest
|
||||||
redis:
|
redis:
|
||||||
pullPolicy: IfNotPresent
|
pull_policy: IfNotPresent
|
||||||
registry: quay.io
|
registry: quay.io
|
||||||
repository: opstree/redis
|
repository: opstree/redis
|
||||||
tag: v7.0.12
|
tag: v7.0.12
|
||||||
redis_exporter:
|
redis_exporter:
|
||||||
pullPolicy: IfNotPresent
|
pull_policy: IfNotPresent
|
||||||
registry: quay.io
|
registry: quay.io
|
||||||
repository: opstree/redis-exporter
|
repository: opstree/redis-exporter
|
||||||
tag: v1.44.0
|
tag: v1.44.0
|
||||||
properties:
|
properties:
|
||||||
infisical:
|
infisical:
|
||||||
default:
|
default:
|
||||||
pullPolicy: IfNotPresent
|
pull_policy: IfNotPresent
|
||||||
registry: docker.io
|
registry: docker.io
|
||||||
repository: infisical/infisical
|
repository: infisical/infisical
|
||||||
tag: latest
|
tag: latest
|
||||||
properties:
|
properties:
|
||||||
pullPolicy:
|
pull_policy:
|
||||||
default: IfNotPresent
|
default: IfNotPresent
|
||||||
enum:
|
enum:
|
||||||
- Always
|
- Always
|
||||||
@@ -81,12 +108,12 @@ options:
|
|||||||
type: object
|
type: object
|
||||||
redis:
|
redis:
|
||||||
default:
|
default:
|
||||||
pullPolicy: IfNotPresent
|
pull_policy: IfNotPresent
|
||||||
registry: quay.io
|
registry: quay.io
|
||||||
repository: opstree/redis
|
repository: opstree/redis
|
||||||
tag: v7.0.12
|
tag: v7.0.12
|
||||||
properties:
|
properties:
|
||||||
pullPolicy:
|
pull_policy:
|
||||||
default: IfNotPresent
|
default: IfNotPresent
|
||||||
enum:
|
enum:
|
||||||
- Always
|
- Always
|
||||||
@@ -105,12 +132,12 @@ options:
|
|||||||
type: object
|
type: object
|
||||||
redis_exporter:
|
redis_exporter:
|
||||||
default:
|
default:
|
||||||
pullPolicy: IfNotPresent
|
pull_policy: IfNotPresent
|
||||||
registry: quay.io
|
registry: quay.io
|
||||||
repository: opstree/redis-exporter
|
repository: opstree/redis-exporter
|
||||||
tag: v1.44.0
|
tag: v1.44.0
|
||||||
properties:
|
properties:
|
||||||
pullPolicy:
|
pull_policy:
|
||||||
default: IfNotPresent
|
default: IfNotPresent
|
||||||
enum:
|
enum:
|
||||||
- Always
|
- Always
|
||||||
@@ -128,31 +155,21 @@ options:
|
|||||||
type: string
|
type: string
|
||||||
type: object
|
type: object
|
||||||
type: object
|
type: object
|
||||||
|
domain_name:
|
||||||
|
default: your-company.com
|
||||||
|
examples:
|
||||||
|
- your-company.com
|
||||||
|
type: string
|
||||||
ingress_class:
|
ingress_class:
|
||||||
default: traefik
|
default: traefik
|
||||||
examples:
|
examples:
|
||||||
- traefik
|
- traefik
|
||||||
type: string
|
type: string
|
||||||
app_group:
|
domain:
|
||||||
default: apps
|
default: your-company
|
||||||
examples:
|
examples:
|
||||||
- apps
|
- your-company
|
||||||
type: string
|
type: string
|
||||||
sub_domain:
|
|
||||||
default: infisical
|
|
||||||
examples:
|
|
||||||
- infisical
|
|
||||||
type: string
|
|
||||||
issuer:
|
|
||||||
default: letsencrypt-prod
|
|
||||||
examples:
|
|
||||||
- letsencrypt-prod
|
|
||||||
type: string
|
|
||||||
sso_vynil:
|
|
||||||
default: true
|
|
||||||
examples:
|
|
||||||
- true
|
|
||||||
type: boolean
|
|
||||||
dependencies:
|
dependencies:
|
||||||
- dist: null
|
- dist: null
|
||||||
category: core
|
category: core
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
locals {
|
locals {
|
||||||
dns_name = "${var.sub_domain}.${var.domain_name}"
|
dns_name = "${var.sub_domain}.${var.domain_name}"
|
||||||
dns_names = [local.dns_name]
|
dns_names = [local.dns_name]
|
||||||
icon = "icon.svg"
|
icon = "infisical.ico"
|
||||||
request_headers = {
|
request_headers = {
|
||||||
"Content-Type" = "application/json"
|
"Content-Type" = "application/json"
|
||||||
Authorization = "Bearer ${data.kubernetes_secret_v1.authentik.data["AUTHENTIK_BOOTSTRAP_TOKEN"]}"
|
Authorization = "Bearer ${data.kubernetes_secret_v1.authentik.data["AUTHENTIK_BOOTSTRAP_TOKEN"]}"
|
||||||
|
|||||||
@@ -27,5 +27,7 @@ resource "kubectl_manifest" "secret" {
|
|||||||
length: "32"
|
length: "32"
|
||||||
- fieldName: "ENCRYPTION_KEY"
|
- fieldName: "ENCRYPTION_KEY"
|
||||||
length: "32"
|
length: "32"
|
||||||
|
- fieldName: "AUTH_SECRET"
|
||||||
|
length: "32"
|
||||||
EOF
|
EOF
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -5,6 +5,7 @@ module "redis" {
|
|||||||
namespace = var.namespace
|
namespace = var.namespace
|
||||||
labels = local.common-labels
|
labels = local.common-labels
|
||||||
images = var.images
|
images = var.images
|
||||||
|
exporter = var.redis.exporter
|
||||||
providers = {
|
providers = {
|
||||||
kubectl = kubectl
|
kubectl = kubectl
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -33,7 +33,7 @@ resource "kubectl_manifest" "collabora_deploy" {
|
|||||||
containers:
|
containers:
|
||||||
- name: collabora
|
- name: collabora
|
||||||
image: "${var.images.collabora.registry}/${var.images.collabora.repository}:${var.images.collabora.tag}"
|
image: "${var.images.collabora.registry}/${var.images.collabora.repository}:${var.images.collabora.tag}"
|
||||||
imagePullPolicy: "${var.images.collabora.pullPolicy}"
|
imagePullPolicy: "${var.images.collabora.pull_policy}"
|
||||||
env:
|
env:
|
||||||
- name: aliasgroup1
|
- name: aliasgroup1
|
||||||
value: "https://${local.dns_name}"
|
value: "https://${local.dns_name}"
|
||||||
|
|||||||
@@ -75,7 +75,7 @@ data "kustomization_overlay" "data" {
|
|||||||
containers:
|
containers:
|
||||||
- name: nextcloud
|
- name: nextcloud
|
||||||
image: "${var.images.nextcloud.registry}/${var.images.nextcloud.repository}:${var.images.nextcloud.tag}"
|
image: "${var.images.nextcloud.registry}/${var.images.nextcloud.repository}:${var.images.nextcloud.tag}"
|
||||||
imagePullPolicy: "${var.images.nextcloud.pullPolicy}"
|
imagePullPolicy: "${var.images.nextcloud.pull_policy}"
|
||||||
command: ["/usr/local/bin/wrapper"]
|
command: ["/usr/local/bin/wrapper"]
|
||||||
args: ["php-fpm"]
|
args: ["php-fpm"]
|
||||||
env:
|
env:
|
||||||
@@ -138,7 +138,7 @@ data "kustomization_overlay" "data" {
|
|||||||
subPath: "wrapper"
|
subPath: "wrapper"
|
||||||
- name: nextcloud-nginx
|
- name: nextcloud-nginx
|
||||||
image: "${var.images.nginx.registry}/${var.images.nginx.repository}:${var.images.nginx.tag}"
|
image: "${var.images.nginx.registry}/${var.images.nginx.repository}:${var.images.nginx.tag}"
|
||||||
imagePullPolicy: "${var.images.nginx.pullPolicy}"
|
imagePullPolicy: "${var.images.nginx.pull_policy}"
|
||||||
resources:
|
resources:
|
||||||
{}
|
{}
|
||||||
readinessProbe:
|
readinessProbe:
|
||||||
@@ -171,7 +171,7 @@ data "kustomization_overlay" "data" {
|
|||||||
containers:
|
containers:
|
||||||
- name: metrics-exporter
|
- name: metrics-exporter
|
||||||
image: "${var.images.exporter.registry}/${var.images.exporter.repository}:${var.images.exporter.tag}"
|
image: "${var.images.exporter.registry}/${var.images.exporter.repository}:${var.images.exporter.tag}"
|
||||||
imagePullPolicy: "${var.images.exporter.pullPolicy}"
|
imagePullPolicy: "${var.images.exporter.pull_policy}"
|
||||||
env:
|
env:
|
||||||
- name: NEXTCLOUD_SERVER
|
- name: NEXTCLOUD_SERVER
|
||||||
value: "https://${local.dns_name}"
|
value: "https://${local.dns_name}"
|
||||||
|
|||||||
@@ -284,27 +284,27 @@ options:
|
|||||||
images:
|
images:
|
||||||
default:
|
default:
|
||||||
collabora:
|
collabora:
|
||||||
pullPolicy: IfNotPresent
|
pull_policy: IfNotPresent
|
||||||
registry: docker.io
|
registry: docker.io
|
||||||
repository: collabora/code
|
repository: collabora/code
|
||||||
tag: 23.05.5.2.1
|
tag: 23.05.5.2.1
|
||||||
exporter:
|
exporter:
|
||||||
pullPolicy: IfNotPresent
|
pull_policy: IfNotPresent
|
||||||
registry: docker.io
|
registry: docker.io
|
||||||
repository: xperimental/nextcloud-exporter
|
repository: xperimental/nextcloud-exporter
|
||||||
tag: 0.6.2
|
tag: 0.6.2
|
||||||
nextcloud:
|
nextcloud:
|
||||||
pullPolicy: IfNotPresent
|
pull_policy: IfNotPresent
|
||||||
registry: docker.io
|
registry: docker.io
|
||||||
repository: nextcloud
|
repository: nextcloud
|
||||||
tag: 27.1.2-fpm
|
tag: 27.1.2-fpm
|
||||||
nginx:
|
nginx:
|
||||||
pullPolicy: IfNotPresent
|
pull_policy: IfNotPresent
|
||||||
registry: docker.io
|
registry: docker.io
|
||||||
repository: nginx
|
repository: nginx
|
||||||
tag: alpine
|
tag: alpine
|
||||||
onlyoffice:
|
onlyoffice:
|
||||||
pullPolicy: IfNotPresent
|
pull_policy: IfNotPresent
|
||||||
registry: docker.io
|
registry: docker.io
|
||||||
repository: onlyoffice/documentserver
|
repository: onlyoffice/documentserver
|
||||||
tag: 7.5.0.1
|
tag: 7.5.0.1
|
||||||
@@ -313,38 +313,38 @@ options:
|
|||||||
repository: cloudnative-pg/postgresql
|
repository: cloudnative-pg/postgresql
|
||||||
tag: 15.3
|
tag: 15.3
|
||||||
redis:
|
redis:
|
||||||
pullPolicy: IfNotPresent
|
pull_policy: IfNotPresent
|
||||||
registry: quay.io
|
registry: quay.io
|
||||||
repository: opstree/redis
|
repository: opstree/redis
|
||||||
tag: v7.0.12
|
tag: v7.0.12
|
||||||
redis_exporter:
|
redis_exporter:
|
||||||
pullPolicy: IfNotPresent
|
pull_policy: IfNotPresent
|
||||||
registry: quay.io
|
registry: quay.io
|
||||||
repository: opstree/redis-exporter
|
repository: opstree/redis-exporter
|
||||||
tag: v1.44.0
|
tag: v1.44.0
|
||||||
examples:
|
examples:
|
||||||
- collabora:
|
- collabora:
|
||||||
pullPolicy: IfNotPresent
|
pull_policy: IfNotPresent
|
||||||
registry: docker.io
|
registry: docker.io
|
||||||
repository: collabora/code
|
repository: collabora/code
|
||||||
tag: 23.05.5.2.1
|
tag: 23.05.5.2.1
|
||||||
exporter:
|
exporter:
|
||||||
pullPolicy: IfNotPresent
|
pull_policy: IfNotPresent
|
||||||
registry: docker.io
|
registry: docker.io
|
||||||
repository: xperimental/nextcloud-exporter
|
repository: xperimental/nextcloud-exporter
|
||||||
tag: 0.6.2
|
tag: 0.6.2
|
||||||
nextcloud:
|
nextcloud:
|
||||||
pullPolicy: IfNotPresent
|
pull_policy: IfNotPresent
|
||||||
registry: docker.io
|
registry: docker.io
|
||||||
repository: nextcloud
|
repository: nextcloud
|
||||||
tag: 27.1.2-fpm
|
tag: 27.1.2-fpm
|
||||||
nginx:
|
nginx:
|
||||||
pullPolicy: IfNotPresent
|
pull_policy: IfNotPresent
|
||||||
registry: docker.io
|
registry: docker.io
|
||||||
repository: nginx
|
repository: nginx
|
||||||
tag: alpine
|
tag: alpine
|
||||||
onlyoffice:
|
onlyoffice:
|
||||||
pullPolicy: IfNotPresent
|
pull_policy: IfNotPresent
|
||||||
registry: docker.io
|
registry: docker.io
|
||||||
repository: onlyoffice/documentserver
|
repository: onlyoffice/documentserver
|
||||||
tag: 7.5.0.1
|
tag: 7.5.0.1
|
||||||
@@ -353,24 +353,24 @@ options:
|
|||||||
repository: cloudnative-pg/postgresql
|
repository: cloudnative-pg/postgresql
|
||||||
tag: 15.3
|
tag: 15.3
|
||||||
redis:
|
redis:
|
||||||
pullPolicy: IfNotPresent
|
pull_policy: IfNotPresent
|
||||||
registry: quay.io
|
registry: quay.io
|
||||||
repository: opstree/redis
|
repository: opstree/redis
|
||||||
tag: v7.0.12
|
tag: v7.0.12
|
||||||
redis_exporter:
|
redis_exporter:
|
||||||
pullPolicy: IfNotPresent
|
pull_policy: IfNotPresent
|
||||||
registry: quay.io
|
registry: quay.io
|
||||||
repository: opstree/redis-exporter
|
repository: opstree/redis-exporter
|
||||||
tag: v1.44.0
|
tag: v1.44.0
|
||||||
properties:
|
properties:
|
||||||
collabora:
|
collabora:
|
||||||
default:
|
default:
|
||||||
pullPolicy: IfNotPresent
|
pull_policy: IfNotPresent
|
||||||
registry: docker.io
|
registry: docker.io
|
||||||
repository: collabora/code
|
repository: collabora/code
|
||||||
tag: 23.05.5.2.1
|
tag: 23.05.5.2.1
|
||||||
properties:
|
properties:
|
||||||
pullPolicy:
|
pull_policy:
|
||||||
default: IfNotPresent
|
default: IfNotPresent
|
||||||
type: string
|
type: string
|
||||||
registry:
|
registry:
|
||||||
@@ -385,12 +385,12 @@ options:
|
|||||||
type: object
|
type: object
|
||||||
exporter:
|
exporter:
|
||||||
default:
|
default:
|
||||||
pullPolicy: IfNotPresent
|
pull_policy: IfNotPresent
|
||||||
registry: docker.io
|
registry: docker.io
|
||||||
repository: xperimental/nextcloud-exporter
|
repository: xperimental/nextcloud-exporter
|
||||||
tag: 0.6.2
|
tag: 0.6.2
|
||||||
properties:
|
properties:
|
||||||
pullPolicy:
|
pull_policy:
|
||||||
default: IfNotPresent
|
default: IfNotPresent
|
||||||
type: string
|
type: string
|
||||||
registry:
|
registry:
|
||||||
@@ -405,12 +405,12 @@ options:
|
|||||||
type: object
|
type: object
|
||||||
nextcloud:
|
nextcloud:
|
||||||
default:
|
default:
|
||||||
pullPolicy: IfNotPresent
|
pull_policy: IfNotPresent
|
||||||
registry: docker.io
|
registry: docker.io
|
||||||
repository: nextcloud
|
repository: nextcloud
|
||||||
tag: 27.1.2-fpm
|
tag: 27.1.2-fpm
|
||||||
properties:
|
properties:
|
||||||
pullPolicy:
|
pull_policy:
|
||||||
default: IfNotPresent
|
default: IfNotPresent
|
||||||
enum:
|
enum:
|
||||||
- Always
|
- Always
|
||||||
@@ -429,12 +429,12 @@ options:
|
|||||||
type: object
|
type: object
|
||||||
nginx:
|
nginx:
|
||||||
default:
|
default:
|
||||||
pullPolicy: IfNotPresent
|
pull_policy: IfNotPresent
|
||||||
registry: docker.io
|
registry: docker.io
|
||||||
repository: nginx
|
repository: nginx
|
||||||
tag: alpine
|
tag: alpine
|
||||||
properties:
|
properties:
|
||||||
pullPolicy:
|
pull_policy:
|
||||||
default: IfNotPresent
|
default: IfNotPresent
|
||||||
enum:
|
enum:
|
||||||
- Always
|
- Always
|
||||||
@@ -453,12 +453,12 @@ options:
|
|||||||
type: object
|
type: object
|
||||||
onlyoffice:
|
onlyoffice:
|
||||||
default:
|
default:
|
||||||
pullPolicy: IfNotPresent
|
pull_policy: IfNotPresent
|
||||||
registry: docker.io
|
registry: docker.io
|
||||||
repository: onlyoffice/documentserver
|
repository: onlyoffice/documentserver
|
||||||
tag: 7.5.0.1
|
tag: 7.5.0.1
|
||||||
properties:
|
properties:
|
||||||
pullPolicy:
|
pull_policy:
|
||||||
default: IfNotPresent
|
default: IfNotPresent
|
||||||
type: string
|
type: string
|
||||||
registry:
|
registry:
|
||||||
@@ -489,12 +489,12 @@ options:
|
|||||||
type: object
|
type: object
|
||||||
redis:
|
redis:
|
||||||
default:
|
default:
|
||||||
pullPolicy: IfNotPresent
|
pull_policy: IfNotPresent
|
||||||
registry: quay.io
|
registry: quay.io
|
||||||
repository: opstree/redis
|
repository: opstree/redis
|
||||||
tag: v7.0.12
|
tag: v7.0.12
|
||||||
properties:
|
properties:
|
||||||
pullPolicy:
|
pull_policy:
|
||||||
default: IfNotPresent
|
default: IfNotPresent
|
||||||
enum:
|
enum:
|
||||||
- Always
|
- Always
|
||||||
@@ -513,12 +513,12 @@ options:
|
|||||||
type: object
|
type: object
|
||||||
redis_exporter:
|
redis_exporter:
|
||||||
default:
|
default:
|
||||||
pullPolicy: IfNotPresent
|
pull_policy: IfNotPresent
|
||||||
registry: quay.io
|
registry: quay.io
|
||||||
repository: opstree/redis-exporter
|
repository: opstree/redis-exporter
|
||||||
tag: v1.44.0
|
tag: v1.44.0
|
||||||
properties:
|
properties:
|
||||||
pullPolicy:
|
pull_policy:
|
||||||
default: IfNotPresent
|
default: IfNotPresent
|
||||||
enum:
|
enum:
|
||||||
- Always
|
- Always
|
||||||
|
|||||||
@@ -26,7 +26,7 @@ resource "kubectl_manifest" "onlyoffice_deploy" {
|
|||||||
containers:
|
containers:
|
||||||
- name: "onlyoffice"
|
- name: "onlyoffice"
|
||||||
image: "${var.images.onlyoffice.registry}/${var.images.onlyoffice.repository}:${var.images.onlyoffice.tag}"
|
image: "${var.images.onlyoffice.registry}/${var.images.onlyoffice.repository}:${var.images.onlyoffice.tag}"
|
||||||
imagePullPolicy: "${var.images.onlyoffice.pullPolicy}"
|
imagePullPolicy: "${var.images.onlyoffice.pull_policy}"
|
||||||
env:
|
env:
|
||||||
- name: JWT_ENABLED
|
- name: JWT_ENABLED
|
||||||
value: "true"
|
value: "true"
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ resource "kubectl_manifest" "prj_redis" {
|
|||||||
spec:
|
spec:
|
||||||
kubernetesConfig:
|
kubernetesConfig:
|
||||||
image: "${var.images.redis.registry}/${var.images.redis.repository}:${var.images.redis.tag}"
|
image: "${var.images.redis.registry}/${var.images.redis.repository}:${var.images.redis.tag}"
|
||||||
imagePullPolicy: "${var.images.redis.pullPolicy}"
|
imagePullPolicy: "${var.images.redis.pull_policy}"
|
||||||
storage:
|
storage:
|
||||||
volumeClaimTemplate:
|
volumeClaimTemplate:
|
||||||
spec:
|
spec:
|
||||||
|
|||||||
@@ -29,7 +29,7 @@ resource "kubectl_manifest" "deploy" {
|
|||||||
- name: BRIDGE_USER_AUTH
|
- name: BRIDGE_USER_AUTH
|
||||||
value: disabled
|
value: disabled
|
||||||
image: "${var.images.okd.registry}/${var.images.okd.repository}:${var.images.okd.tag}"
|
image: "${var.images.okd.registry}/${var.images.okd.repository}:${var.images.okd.tag}"
|
||||||
imagePullPolicy: "${var.images.okd.pullPolicy}"
|
imagePullPolicy: "${var.images.okd.pull_policy}"
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 9000
|
- containerPort: 9000
|
||||||
name: http
|
name: http
|
||||||
|
|||||||
@@ -9,25 +9,25 @@ options:
|
|||||||
images:
|
images:
|
||||||
default:
|
default:
|
||||||
okd:
|
okd:
|
||||||
pullPolicy: IfNotPresent
|
pull_policy: IfNotPresent
|
||||||
registry: quay.io
|
registry: quay.io
|
||||||
repository: openshift/origin-console
|
repository: openshift/origin-console
|
||||||
tag: 4.15.0
|
tag: 4.15.0
|
||||||
examples:
|
examples:
|
||||||
- okd:
|
- okd:
|
||||||
pullPolicy: IfNotPresent
|
pull_policy: IfNotPresent
|
||||||
registry: quay.io
|
registry: quay.io
|
||||||
repository: openshift/origin-console
|
repository: openshift/origin-console
|
||||||
tag: 4.15.0
|
tag: 4.15.0
|
||||||
properties:
|
properties:
|
||||||
okd:
|
okd:
|
||||||
default:
|
default:
|
||||||
pullPolicy: IfNotPresent
|
pull_policy: IfNotPresent
|
||||||
registry: quay.io
|
registry: quay.io
|
||||||
repository: openshift/origin-console
|
repository: openshift/origin-console
|
||||||
tag: 4.15.0
|
tag: 4.15.0
|
||||||
properties:
|
properties:
|
||||||
pullPolicy:
|
pull_policy:
|
||||||
default: IfNotPresent
|
default: IfNotPresent
|
||||||
enum:
|
enum:
|
||||||
- Always
|
- Always
|
||||||
|
|||||||
@@ -19,25 +19,25 @@ options:
|
|||||||
images:
|
images:
|
||||||
default:
|
default:
|
||||||
sonar:
|
sonar:
|
||||||
pullPolicy: IfNotPresent
|
pull_policy: IfNotPresent
|
||||||
registry: docker.io
|
registry: docker.io
|
||||||
repository: to-be/defined
|
repository: to-be/defined
|
||||||
tag: v1.0.0
|
tag: v1.0.0
|
||||||
examples:
|
examples:
|
||||||
- sonar:
|
- sonar:
|
||||||
pullPolicy: IfNotPresent
|
pull_policy: IfNotPresent
|
||||||
registry: docker.io
|
registry: docker.io
|
||||||
repository: to-be/defined
|
repository: to-be/defined
|
||||||
tag: v1.0.0
|
tag: v1.0.0
|
||||||
properties:
|
properties:
|
||||||
sonar:
|
sonar:
|
||||||
default:
|
default:
|
||||||
pullPolicy: IfNotPresent
|
pull_policy: IfNotPresent
|
||||||
registry: docker.io
|
registry: docker.io
|
||||||
repository: to-be/defined
|
repository: to-be/defined
|
||||||
tag: v1.0.0
|
tag: v1.0.0
|
||||||
properties:
|
properties:
|
||||||
pullPolicy:
|
pull_policy:
|
||||||
default: IfNotPresent
|
default: IfNotPresent
|
||||||
enum:
|
enum:
|
||||||
- Always
|
- Always
|
||||||
|
|||||||
@@ -60,7 +60,7 @@ data "kustomization_overlay" "data" {
|
|||||||
containers:
|
containers:
|
||||||
- name: agent
|
- name: agent
|
||||||
image: "${var.images.agent.registry}/${var.images.agent.repository}:${var.images.agent.tag}"
|
image: "${var.images.agent.registry}/${var.images.agent.repository}:${var.images.agent.tag}"
|
||||||
imagePullPolicy: "${var.images.agent.pullPolicy}"
|
imagePullPolicy: "${var.images.agent.pull_policy}"
|
||||||
env:
|
env:
|
||||||
- name: WOODPECKER_BACKEND_K8S_NAMESPACE
|
- name: WOODPECKER_BACKEND_K8S_NAMESPACE
|
||||||
value: "${var.namespace}"
|
value: "${var.namespace}"
|
||||||
@@ -156,7 +156,7 @@ data "kustomization_overlay" "data" {
|
|||||||
containers:
|
containers:
|
||||||
- name: server
|
- name: server
|
||||||
image: "${var.images.server.registry}/${var.images.server.repository}:${var.images.server.tag}"
|
image: "${var.images.server.registry}/${var.images.server.repository}:${var.images.server.tag}"
|
||||||
imagePullPolicy: "${var.images.server.pullPolicy}"
|
imagePullPolicy: "${var.images.server.pull_policy}"
|
||||||
env:
|
env:
|
||||||
- name: WOODPECKER_ADMIN
|
- name: WOODPECKER_ADMIN
|
||||||
value: "${var.admin-users}"
|
value: "${var.admin-users}"
|
||||||
|
|||||||
@@ -34,7 +34,7 @@ options:
|
|||||||
images:
|
images:
|
||||||
default:
|
default:
|
||||||
agent:
|
agent:
|
||||||
pullPolicy: IfNotPresent
|
pull_policy: IfNotPresent
|
||||||
registry: docker.io
|
registry: docker.io
|
||||||
repository: woodpeckerci/woodpecker-agent
|
repository: woodpeckerci/woodpecker-agent
|
||||||
tag: v1.0.3-alpine
|
tag: v1.0.3-alpine
|
||||||
@@ -43,13 +43,13 @@ options:
|
|||||||
repository: woodpeckerci/plugin-git
|
repository: woodpeckerci/plugin-git
|
||||||
tag: 2.2.0
|
tag: 2.2.0
|
||||||
server:
|
server:
|
||||||
pullPolicy: IfNotPresent
|
pull_policy: IfNotPresent
|
||||||
registry: docker.io
|
registry: docker.io
|
||||||
repository: woodpeckerci/woodpecker-server
|
repository: woodpeckerci/woodpecker-server
|
||||||
tag: v1.0.3-alpine
|
tag: v1.0.3-alpine
|
||||||
examples:
|
examples:
|
||||||
- agent:
|
- agent:
|
||||||
pullPolicy: IfNotPresent
|
pull_policy: IfNotPresent
|
||||||
registry: docker.io
|
registry: docker.io
|
||||||
repository: woodpeckerci/woodpecker-agent
|
repository: woodpeckerci/woodpecker-agent
|
||||||
tag: v1.0.3-alpine
|
tag: v1.0.3-alpine
|
||||||
@@ -58,19 +58,19 @@ options:
|
|||||||
repository: woodpeckerci/plugin-git
|
repository: woodpeckerci/plugin-git
|
||||||
tag: 2.2.0
|
tag: 2.2.0
|
||||||
server:
|
server:
|
||||||
pullPolicy: IfNotPresent
|
pull_policy: IfNotPresent
|
||||||
registry: docker.io
|
registry: docker.io
|
||||||
repository: woodpeckerci/woodpecker-server
|
repository: woodpeckerci/woodpecker-server
|
||||||
tag: v1.0.3-alpine
|
tag: v1.0.3-alpine
|
||||||
properties:
|
properties:
|
||||||
agent:
|
agent:
|
||||||
default:
|
default:
|
||||||
pullPolicy: IfNotPresent
|
pull_policy: IfNotPresent
|
||||||
registry: docker.io
|
registry: docker.io
|
||||||
repository: woodpeckerci/woodpecker-agent
|
repository: woodpeckerci/woodpecker-agent
|
||||||
tag: v1.0.3-alpine
|
tag: v1.0.3-alpine
|
||||||
properties:
|
properties:
|
||||||
pullPolicy:
|
pull_policy:
|
||||||
default: IfNotPresent
|
default: IfNotPresent
|
||||||
enum:
|
enum:
|
||||||
- Always
|
- Always
|
||||||
@@ -105,12 +105,12 @@ options:
|
|||||||
type: object
|
type: object
|
||||||
server:
|
server:
|
||||||
default:
|
default:
|
||||||
pullPolicy: IfNotPresent
|
pull_policy: IfNotPresent
|
||||||
registry: docker.io
|
registry: docker.io
|
||||||
repository: woodpeckerci/woodpecker-server
|
repository: woodpeckerci/woodpecker-server
|
||||||
tag: v1.0.3-alpine
|
tag: v1.0.3-alpine
|
||||||
properties:
|
properties:
|
||||||
pullPolicy:
|
pull_policy:
|
||||||
default: IfNotPresent
|
default: IfNotPresent
|
||||||
enum:
|
enum:
|
||||||
- Always
|
- Always
|
||||||
|
|||||||
@@ -37,25 +37,25 @@ options:
|
|||||||
images:
|
images:
|
||||||
default:
|
default:
|
||||||
codeserver:
|
codeserver:
|
||||||
pullPolicy: IfNotPresent
|
pull_policy: IfNotPresent
|
||||||
registry: docker.io
|
registry: docker.io
|
||||||
repository: sebt3/code-server
|
repository: sebt3/code-server
|
||||||
tag: 4.18
|
tag: 4.18
|
||||||
examples:
|
examples:
|
||||||
- codeserver:
|
- codeserver:
|
||||||
pullPolicy: IfNotPresent
|
pull_policy: IfNotPresent
|
||||||
registry: docker.io
|
registry: docker.io
|
||||||
repository: sebt3/code-server
|
repository: sebt3/code-server
|
||||||
tag: 4.18
|
tag: 4.18
|
||||||
properties:
|
properties:
|
||||||
codeserver:
|
codeserver:
|
||||||
default:
|
default:
|
||||||
pullPolicy: IfNotPresent
|
pull_policy: IfNotPresent
|
||||||
registry: docker.io
|
registry: docker.io
|
||||||
repository: sebt3/code-server
|
repository: sebt3/code-server
|
||||||
tag: 4.18
|
tag: 4.18
|
||||||
properties:
|
properties:
|
||||||
pullPolicy:
|
pull_policy:
|
||||||
default: IfNotPresent
|
default: IfNotPresent
|
||||||
enum:
|
enum:
|
||||||
- Always
|
- Always
|
||||||
|
|||||||
@@ -29,25 +29,25 @@ options:
|
|||||||
images:
|
images:
|
||||||
default:
|
default:
|
||||||
alertmanager:
|
alertmanager:
|
||||||
pullPolicy: IfNotPresent
|
pull_policy: IfNotPresent
|
||||||
registry: quay.io
|
registry: quay.io
|
||||||
repository: prometheus/alertmanager
|
repository: prometheus/alertmanager
|
||||||
tag: v0.26.0
|
tag: v0.26.0
|
||||||
examples:
|
examples:
|
||||||
- alertmanager:
|
- alertmanager:
|
||||||
pullPolicy: IfNotPresent
|
pull_policy: IfNotPresent
|
||||||
registry: quay.io
|
registry: quay.io
|
||||||
repository: prometheus/alertmanager
|
repository: prometheus/alertmanager
|
||||||
tag: v0.26.0
|
tag: v0.26.0
|
||||||
properties:
|
properties:
|
||||||
alertmanager:
|
alertmanager:
|
||||||
default:
|
default:
|
||||||
pullPolicy: IfNotPresent
|
pull_policy: IfNotPresent
|
||||||
registry: quay.io
|
registry: quay.io
|
||||||
repository: prometheus/alertmanager
|
repository: prometheus/alertmanager
|
||||||
tag: v0.26.0
|
tag: v0.26.0
|
||||||
properties:
|
properties:
|
||||||
pullPolicy:
|
pull_policy:
|
||||||
default: IfNotPresent
|
default: IfNotPresent
|
||||||
enum:
|
enum:
|
||||||
- Always
|
- Always
|
||||||
|
|||||||
@@ -91,12 +91,12 @@ options:
|
|||||||
repository: library/busybox
|
repository: library/busybox
|
||||||
tag: 1.31.1
|
tag: 1.31.1
|
||||||
grafana:
|
grafana:
|
||||||
pullPolicy: IfNotPresent
|
pull_policy: IfNotPresent
|
||||||
registry: docker.io
|
registry: docker.io
|
||||||
repository: grafana/grafana
|
repository: grafana/grafana
|
||||||
tag: 10.2.3
|
tag: 10.2.3
|
||||||
sidecar:
|
sidecar:
|
||||||
pullPolicy: IfNotPresent
|
pull_policy: IfNotPresent
|
||||||
registry: quay.io
|
registry: quay.io
|
||||||
repository: kiwigrid/k8s-sidecar
|
repository: kiwigrid/k8s-sidecar
|
||||||
tag: 1.25.2
|
tag: 1.25.2
|
||||||
@@ -106,12 +106,12 @@ options:
|
|||||||
repository: library/busybox
|
repository: library/busybox
|
||||||
tag: 1.31.1
|
tag: 1.31.1
|
||||||
grafana:
|
grafana:
|
||||||
pullPolicy: IfNotPresent
|
pull_policy: IfNotPresent
|
||||||
registry: docker.io
|
registry: docker.io
|
||||||
repository: grafana/grafana
|
repository: grafana/grafana
|
||||||
tag: 10.2.3
|
tag: 10.2.3
|
||||||
sidecar:
|
sidecar:
|
||||||
pullPolicy: IfNotPresent
|
pull_policy: IfNotPresent
|
||||||
registry: quay.io
|
registry: quay.io
|
||||||
repository: kiwigrid/k8s-sidecar
|
repository: kiwigrid/k8s-sidecar
|
||||||
tag: 1.25.2
|
tag: 1.25.2
|
||||||
@@ -134,12 +134,12 @@ options:
|
|||||||
type: object
|
type: object
|
||||||
grafana:
|
grafana:
|
||||||
default:
|
default:
|
||||||
pullPolicy: IfNotPresent
|
pull_policy: IfNotPresent
|
||||||
registry: docker.io
|
registry: docker.io
|
||||||
repository: grafana/grafana
|
repository: grafana/grafana
|
||||||
tag: 10.2.3
|
tag: 10.2.3
|
||||||
properties:
|
properties:
|
||||||
pullPolicy:
|
pull_policy:
|
||||||
default: IfNotPresent
|
default: IfNotPresent
|
||||||
enum:
|
enum:
|
||||||
- Always
|
- Always
|
||||||
@@ -158,12 +158,12 @@ options:
|
|||||||
type: object
|
type: object
|
||||||
sidecar:
|
sidecar:
|
||||||
default:
|
default:
|
||||||
pullPolicy: IfNotPresent
|
pull_policy: IfNotPresent
|
||||||
registry: quay.io
|
registry: quay.io
|
||||||
repository: kiwigrid/k8s-sidecar
|
repository: kiwigrid/k8s-sidecar
|
||||||
tag: 1.25.2
|
tag: 1.25.2
|
||||||
properties:
|
properties:
|
||||||
pullPolicy:
|
pull_policy:
|
||||||
default: IfNotPresent
|
default: IfNotPresent
|
||||||
enum:
|
enum:
|
||||||
- Always
|
- Always
|
||||||
|
|||||||
@@ -9,25 +9,25 @@ options:
|
|||||||
images:
|
images:
|
||||||
default:
|
default:
|
||||||
kube-state-metrics:
|
kube-state-metrics:
|
||||||
pullPolicy: IfNotPresent
|
pull_policy: IfNotPresent
|
||||||
registry: registry.k8s.io
|
registry: registry.k8s.io
|
||||||
repository: kube-state-metrics/kube-state-metrics
|
repository: kube-state-metrics/kube-state-metrics
|
||||||
tag: v2.10.1
|
tag: v2.10.1
|
||||||
examples:
|
examples:
|
||||||
- kube-state-metrics:
|
- kube-state-metrics:
|
||||||
pullPolicy: IfNotPresent
|
pull_policy: IfNotPresent
|
||||||
registry: registry.k8s.io
|
registry: registry.k8s.io
|
||||||
repository: kube-state-metrics/kube-state-metrics
|
repository: kube-state-metrics/kube-state-metrics
|
||||||
tag: v2.10.1
|
tag: v2.10.1
|
||||||
properties:
|
properties:
|
||||||
kube-state-metrics:
|
kube-state-metrics:
|
||||||
default:
|
default:
|
||||||
pullPolicy: IfNotPresent
|
pull_policy: IfNotPresent
|
||||||
registry: registry.k8s.io
|
registry: registry.k8s.io
|
||||||
repository: kube-state-metrics/kube-state-metrics
|
repository: kube-state-metrics/kube-state-metrics
|
||||||
tag: v2.10.1
|
tag: v2.10.1
|
||||||
properties:
|
properties:
|
||||||
pullPolicy:
|
pull_policy:
|
||||||
default: IfNotPresent
|
default: IfNotPresent
|
||||||
enum:
|
enum:
|
||||||
- Always
|
- Always
|
||||||
|
|||||||
@@ -19,25 +19,25 @@ options:
|
|||||||
images:
|
images:
|
||||||
default:
|
default:
|
||||||
operator:
|
operator:
|
||||||
pullPolicy: IfNotPresent
|
pull_policy: IfNotPresent
|
||||||
registry: docker.io
|
registry: docker.io
|
||||||
repository: to-be/defined
|
repository: to-be/defined
|
||||||
tag: v1.0.0
|
tag: v1.0.0
|
||||||
examples:
|
examples:
|
||||||
- operator:
|
- operator:
|
||||||
pullPolicy: IfNotPresent
|
pull_policy: IfNotPresent
|
||||||
registry: docker.io
|
registry: docker.io
|
||||||
repository: to-be/defined
|
repository: to-be/defined
|
||||||
tag: v1.0.0
|
tag: v1.0.0
|
||||||
properties:
|
properties:
|
||||||
operator:
|
operator:
|
||||||
default:
|
default:
|
||||||
pullPolicy: IfNotPresent
|
pull_policy: IfNotPresent
|
||||||
registry: docker.io
|
registry: docker.io
|
||||||
repository: to-be/defined
|
repository: to-be/defined
|
||||||
tag: v1.0.0
|
tag: v1.0.0
|
||||||
properties:
|
properties:
|
||||||
pullPolicy:
|
pull_policy:
|
||||||
default: IfNotPresent
|
default: IfNotPresent
|
||||||
enum:
|
enum:
|
||||||
- Always
|
- Always
|
||||||
|
|||||||
@@ -61,7 +61,7 @@ data "kustomization_overlay" "data" {
|
|||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: loki
|
- name: loki
|
||||||
imagePullPolicy: ${var.images.loki.pullPolicy}
|
imagePullPolicy: ${var.images.loki.pull_policy}
|
||||||
volumeClaimTemplates:
|
volumeClaimTemplates:
|
||||||
- apiVersion: v1
|
- apiVersion: v1
|
||||||
kind: PersistentVolumeClaim
|
kind: PersistentVolumeClaim
|
||||||
|
|||||||
@@ -57,25 +57,25 @@ options:
|
|||||||
images:
|
images:
|
||||||
default:
|
default:
|
||||||
loki:
|
loki:
|
||||||
pullPolicy: IfNotPresent
|
pull_policy: IfNotPresent
|
||||||
registry: docker.io
|
registry: docker.io
|
||||||
repository: grafana/loki
|
repository: grafana/loki
|
||||||
tag: 2.9.3
|
tag: 2.9.3
|
||||||
examples:
|
examples:
|
||||||
- loki:
|
- loki:
|
||||||
pullPolicy: IfNotPresent
|
pull_policy: IfNotPresent
|
||||||
registry: docker.io
|
registry: docker.io
|
||||||
repository: grafana/loki
|
repository: grafana/loki
|
||||||
tag: 2.9.3
|
tag: 2.9.3
|
||||||
properties:
|
properties:
|
||||||
loki:
|
loki:
|
||||||
default:
|
default:
|
||||||
pullPolicy: IfNotPresent
|
pull_policy: IfNotPresent
|
||||||
registry: docker.io
|
registry: docker.io
|
||||||
repository: grafana/loki
|
repository: grafana/loki
|
||||||
tag: 2.9.3
|
tag: 2.9.3
|
||||||
properties:
|
properties:
|
||||||
pullPolicy:
|
pull_policy:
|
||||||
default: IfNotPresent
|
default: IfNotPresent
|
||||||
enum:
|
enum:
|
||||||
- Always
|
- Always
|
||||||
|
|||||||
@@ -9,25 +9,25 @@ options:
|
|||||||
images:
|
images:
|
||||||
default:
|
default:
|
||||||
node-exporter:
|
node-exporter:
|
||||||
pullPolicy: IfNotPresent
|
pull_policy: IfNotPresent
|
||||||
registry: quay.io
|
registry: quay.io
|
||||||
repository: prometheus/node-exporter
|
repository: prometheus/node-exporter
|
||||||
tag: v1.7.0
|
tag: v1.7.0
|
||||||
examples:
|
examples:
|
||||||
- node-exporter:
|
- node-exporter:
|
||||||
pullPolicy: IfNotPresent
|
pull_policy: IfNotPresent
|
||||||
registry: quay.io
|
registry: quay.io
|
||||||
repository: prometheus/node-exporter
|
repository: prometheus/node-exporter
|
||||||
tag: v1.7.0
|
tag: v1.7.0
|
||||||
properties:
|
properties:
|
||||||
node-exporter:
|
node-exporter:
|
||||||
default:
|
default:
|
||||||
pullPolicy: IfNotPresent
|
pull_policy: IfNotPresent
|
||||||
registry: quay.io
|
registry: quay.io
|
||||||
repository: prometheus/node-exporter
|
repository: prometheus/node-exporter
|
||||||
tag: v1.7.0
|
tag: v1.7.0
|
||||||
properties:
|
properties:
|
||||||
pullPolicy:
|
pull_policy:
|
||||||
default: IfNotPresent
|
default: IfNotPresent
|
||||||
enum:
|
enum:
|
||||||
- Always
|
- Always
|
||||||
|
|||||||
@@ -69,25 +69,25 @@ options:
|
|||||||
images:
|
images:
|
||||||
default:
|
default:
|
||||||
prometheus:
|
prometheus:
|
||||||
pullPolicy: IfNotPresent
|
pull_policy: IfNotPresent
|
||||||
registry: quay.io
|
registry: quay.io
|
||||||
repository: prometheus/prometheus
|
repository: prometheus/prometheus
|
||||||
tag: v2.49.1
|
tag: v2.49.1
|
||||||
examples:
|
examples:
|
||||||
- prometheus:
|
- prometheus:
|
||||||
pullPolicy: IfNotPresent
|
pull_policy: IfNotPresent
|
||||||
registry: quay.io
|
registry: quay.io
|
||||||
repository: prometheus/prometheus
|
repository: prometheus/prometheus
|
||||||
tag: v2.49.1
|
tag: v2.49.1
|
||||||
properties:
|
properties:
|
||||||
prometheus:
|
prometheus:
|
||||||
default:
|
default:
|
||||||
pullPolicy: IfNotPresent
|
pull_policy: IfNotPresent
|
||||||
registry: quay.io
|
registry: quay.io
|
||||||
repository: prometheus/prometheus
|
repository: prometheus/prometheus
|
||||||
tag: v2.49.1
|
tag: v2.49.1
|
||||||
properties:
|
properties:
|
||||||
pullPolicy:
|
pull_policy:
|
||||||
default: IfNotPresent
|
default: IfNotPresent
|
||||||
enum:
|
enum:
|
||||||
- Always
|
- Always
|
||||||
|
|||||||
@@ -9,25 +9,25 @@ options:
|
|||||||
images:
|
images:
|
||||||
default:
|
default:
|
||||||
promtail:
|
promtail:
|
||||||
pullPolicy: IfNotPresent
|
pull_policy: IfNotPresent
|
||||||
registry: docker.io
|
registry: docker.io
|
||||||
repository: grafana/promtail
|
repository: grafana/promtail
|
||||||
tag: 2.9.2
|
tag: 2.9.2
|
||||||
examples:
|
examples:
|
||||||
- promtail:
|
- promtail:
|
||||||
pullPolicy: IfNotPresent
|
pull_policy: IfNotPresent
|
||||||
registry: docker.io
|
registry: docker.io
|
||||||
repository: grafana/promtail
|
repository: grafana/promtail
|
||||||
tag: 2.9.2
|
tag: 2.9.2
|
||||||
properties:
|
properties:
|
||||||
promtail:
|
promtail:
|
||||||
default:
|
default:
|
||||||
pullPolicy: IfNotPresent
|
pull_policy: IfNotPresent
|
||||||
registry: docker.io
|
registry: docker.io
|
||||||
repository: grafana/promtail
|
repository: grafana/promtail
|
||||||
tag: 2.9.2
|
tag: 2.9.2
|
||||||
properties:
|
properties:
|
||||||
pullPolicy:
|
pull_policy:
|
||||||
default: IfNotPresent
|
default: IfNotPresent
|
||||||
enum:
|
enum:
|
||||||
- Always
|
- Always
|
||||||
|
|||||||
@@ -65,7 +65,7 @@ data "kustomization_overlay" "data" {
|
|||||||
containers:
|
containers:
|
||||||
- name: authentik
|
- name: authentik
|
||||||
image: "${var.images.app.registry}/${var.images.app.repository}:${var.images.app.tag}"
|
image: "${var.images.app.registry}/${var.images.app.repository}:${var.images.app.tag}"
|
||||||
imagePullPolicy: "${var.images.app.pullPolicy}"
|
imagePullPolicy: "${var.images.app.pull_policy}"
|
||||||
env:
|
env:
|
||||||
- name: "AUTHENTIK_POSTGRESQL__HOST"
|
- name: "AUTHENTIK_POSTGRESQL__HOST"
|
||||||
value: "${var.instance}-${var.component}-pool.${var.namespace}.svc"
|
value: "${var.instance}-${var.component}-pool.${var.namespace}.svc"
|
||||||
@@ -97,7 +97,7 @@ data "kustomization_overlay" "data" {
|
|||||||
containers:
|
containers:
|
||||||
- name: authentik
|
- name: authentik
|
||||||
image: "${var.images.app.registry}/${var.images.app.repository}:${var.images.app.tag}"
|
image: "${var.images.app.registry}/${var.images.app.repository}:${var.images.app.tag}"
|
||||||
imagePullPolicy: "${var.images.app.pullPolicy}"
|
imagePullPolicy: "${var.images.app.pull_policy}"
|
||||||
env:
|
env:
|
||||||
- name: "AUTHENTIK_POSTGRESQL__HOST"
|
- name: "AUTHENTIK_POSTGRESQL__HOST"
|
||||||
value: "${var.instance}-${var.component}-pool.${var.namespace}.svc"
|
value: "${var.instance}-${var.component}-pool.${var.namespace}.svc"
|
||||||
|
|||||||
@@ -35,7 +35,7 @@ options:
|
|||||||
default:
|
default:
|
||||||
app:
|
app:
|
||||||
project: goauthentik
|
project: goauthentik
|
||||||
pullPolicy: IfNotPresent
|
pull_policy: IfNotPresent
|
||||||
registry: ghcr.io
|
registry: ghcr.io
|
||||||
repository: goauthentik/server
|
repository: goauthentik/server
|
||||||
tag: 2023.8.3
|
tag: 2023.8.3
|
||||||
@@ -44,19 +44,19 @@ options:
|
|||||||
repository: cloudnative-pg/postgresql
|
repository: cloudnative-pg/postgresql
|
||||||
tag: 15.3
|
tag: 15.3
|
||||||
redis:
|
redis:
|
||||||
pullPolicy: IfNotPresent
|
pull_policy: IfNotPresent
|
||||||
registry: quay.io
|
registry: quay.io
|
||||||
repository: opstree/redis
|
repository: opstree/redis
|
||||||
tag: v7.0.12
|
tag: v7.0.12
|
||||||
redis_exporter:
|
redis_exporter:
|
||||||
pullPolicy: IfNotPresent
|
pull_policy: IfNotPresent
|
||||||
registry: quay.io
|
registry: quay.io
|
||||||
repository: opstree/redis-exporter
|
repository: opstree/redis-exporter
|
||||||
tag: v1.44.0
|
tag: v1.44.0
|
||||||
examples:
|
examples:
|
||||||
- app:
|
- app:
|
||||||
project: goauthentik
|
project: goauthentik
|
||||||
pullPolicy: IfNotPresent
|
pull_policy: IfNotPresent
|
||||||
registry: ghcr.io
|
registry: ghcr.io
|
||||||
repository: goauthentik/server
|
repository: goauthentik/server
|
||||||
tag: 2023.8.3
|
tag: 2023.8.3
|
||||||
@@ -65,12 +65,12 @@ options:
|
|||||||
repository: cloudnative-pg/postgresql
|
repository: cloudnative-pg/postgresql
|
||||||
tag: 15.3
|
tag: 15.3
|
||||||
redis:
|
redis:
|
||||||
pullPolicy: IfNotPresent
|
pull_policy: IfNotPresent
|
||||||
registry: quay.io
|
registry: quay.io
|
||||||
repository: opstree/redis
|
repository: opstree/redis
|
||||||
tag: v7.0.12
|
tag: v7.0.12
|
||||||
redis_exporter:
|
redis_exporter:
|
||||||
pullPolicy: IfNotPresent
|
pull_policy: IfNotPresent
|
||||||
registry: quay.io
|
registry: quay.io
|
||||||
repository: opstree/redis-exporter
|
repository: opstree/redis-exporter
|
||||||
tag: v1.44.0
|
tag: v1.44.0
|
||||||
@@ -78,7 +78,7 @@ options:
|
|||||||
app:
|
app:
|
||||||
default:
|
default:
|
||||||
project: goauthentik
|
project: goauthentik
|
||||||
pullPolicy: IfNotPresent
|
pull_policy: IfNotPresent
|
||||||
registry: ghcr.io
|
registry: ghcr.io
|
||||||
repository: goauthentik/server
|
repository: goauthentik/server
|
||||||
tag: 2023.8.3
|
tag: 2023.8.3
|
||||||
@@ -86,7 +86,7 @@ options:
|
|||||||
project:
|
project:
|
||||||
default: goauthentik
|
default: goauthentik
|
||||||
type: string
|
type: string
|
||||||
pullPolicy:
|
pull_policy:
|
||||||
default: IfNotPresent
|
default: IfNotPresent
|
||||||
enum:
|
enum:
|
||||||
- Always
|
- Always
|
||||||
@@ -121,12 +121,12 @@ options:
|
|||||||
type: object
|
type: object
|
||||||
redis:
|
redis:
|
||||||
default:
|
default:
|
||||||
pullPolicy: IfNotPresent
|
pull_policy: IfNotPresent
|
||||||
registry: quay.io
|
registry: quay.io
|
||||||
repository: opstree/redis
|
repository: opstree/redis
|
||||||
tag: v7.0.12
|
tag: v7.0.12
|
||||||
properties:
|
properties:
|
||||||
pullPolicy:
|
pull_policy:
|
||||||
default: IfNotPresent
|
default: IfNotPresent
|
||||||
enum:
|
enum:
|
||||||
- Always
|
- Always
|
||||||
@@ -145,12 +145,12 @@ options:
|
|||||||
type: object
|
type: object
|
||||||
redis_exporter:
|
redis_exporter:
|
||||||
default:
|
default:
|
||||||
pullPolicy: IfNotPresent
|
pull_policy: IfNotPresent
|
||||||
registry: quay.io
|
registry: quay.io
|
||||||
repository: opstree/redis-exporter
|
repository: opstree/redis-exporter
|
||||||
tag: v1.44.0
|
tag: v1.44.0
|
||||||
properties:
|
properties:
|
||||||
pullPolicy:
|
pull_policy:
|
||||||
default: IfNotPresent
|
default: IfNotPresent
|
||||||
enum:
|
enum:
|
||||||
- Always
|
- Always
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ resource "kubectl_manifest" "authentik_redis" {
|
|||||||
spec:
|
spec:
|
||||||
kubernetesConfig:
|
kubernetesConfig:
|
||||||
image: "${var.images.redis.registry}/${var.images.redis.repository}:${var.images.redis.tag}"
|
image: "${var.images.redis.registry}/${var.images.redis.repository}:${var.images.redis.tag}"
|
||||||
imagePullPolicy: "${var.images.redis.pullPolicy}"
|
imagePullPolicy: "${var.images.redis.pull_policy}"
|
||||||
redisSecret:
|
redisSecret:
|
||||||
name: "${var.component}"
|
name: "${var.component}"
|
||||||
key: "AUTHENTIK_REDIS__PASSWORD"
|
key: "AUTHENTIK_REDIS__PASSWORD"
|
||||||
|
|||||||
@@ -14,25 +14,25 @@ options:
|
|||||||
images:
|
images:
|
||||||
default:
|
default:
|
||||||
mariadb:
|
mariadb:
|
||||||
pullPolicy: IfNotPresent
|
pull_policy: IfNotPresent
|
||||||
registry: docker.io
|
registry: docker.io
|
||||||
repository: mariadb
|
repository: mariadb
|
||||||
tag: 10.7.4
|
tag: 10.7.4
|
||||||
examples:
|
examples:
|
||||||
- mariadb:
|
- mariadb:
|
||||||
pullPolicy: IfNotPresent
|
pull_policy: IfNotPresent
|
||||||
registry: docker.io
|
registry: docker.io
|
||||||
repository: mariadb
|
repository: mariadb
|
||||||
tag: 10.7.4
|
tag: 10.7.4
|
||||||
properties:
|
properties:
|
||||||
mariadb:
|
mariadb:
|
||||||
default:
|
default:
|
||||||
pullPolicy: IfNotPresent
|
pull_policy: IfNotPresent
|
||||||
registry: docker.io
|
registry: docker.io
|
||||||
repository: mariadb
|
repository: mariadb
|
||||||
tag: 10.7.4
|
tag: 10.7.4
|
||||||
properties:
|
properties:
|
||||||
pullPolicy:
|
pull_policy:
|
||||||
default: IfNotPresent
|
default: IfNotPresent
|
||||||
enum:
|
enum:
|
||||||
- Always
|
- Always
|
||||||
|
|||||||
@@ -41,7 +41,7 @@ resource "kubectl_manifest" "prj_mariadb" {
|
|||||||
labels: ${jsonencode(local.maria-labels)}
|
labels: ${jsonencode(local.maria-labels)}
|
||||||
spec:
|
spec:
|
||||||
image: "${var.images.mariadb.registry}/${var.images.mariadb.repository}:${var.images.mariadb.tag}"
|
image: "${var.images.mariadb.registry}/${var.images.mariadb.repository}:${var.images.mariadb.tag}"
|
||||||
imagePullPolicy: "${var.images.mariadb.pullPolicy}"
|
imagePullPolicy: "${var.images.mariadb.pull_policy}"
|
||||||
rootPasswordSecretKeyRef:
|
rootPasswordSecretKeyRef:
|
||||||
key: root-password
|
key: root-password
|
||||||
name: "${var.instance}-${var.component}"
|
name: "${var.instance}-${var.component}"
|
||||||
|
|||||||
@@ -49,11 +49,11 @@ options:
|
|||||||
type: object
|
type: object
|
||||||
image:
|
image:
|
||||||
default:
|
default:
|
||||||
pullPolicy: IfNotPresent
|
pull_policy: IfNotPresent
|
||||||
examples:
|
examples:
|
||||||
- pullPolicy: IfNotPresent
|
- pull_policy: IfNotPresent
|
||||||
properties:
|
properties:
|
||||||
pullPolicy:
|
pull_policy:
|
||||||
default: IfNotPresent
|
default: IfNotPresent
|
||||||
enum:
|
enum:
|
||||||
- Always
|
- Always
|
||||||
|
|||||||
@@ -51,7 +51,7 @@ resource "kubectl_manifest" "prj_mongo" {
|
|||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: mongod
|
- name: mongod
|
||||||
imagePullPolicy: "${var.image.pullPolicy}"
|
imagePullPolicy: "${var.image.pull_policy}"
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
cpu: "${var.ressources.limits.cpu}"
|
cpu: "${var.ressources.limits.cpu}"
|
||||||
|
|||||||
@@ -155,7 +155,7 @@ resource "kubectl_manifest" "directus_deploy" {
|
|||||||
- configMapRef:
|
- configMapRef:
|
||||||
name: "${var.component}-${var.instance}-directus"
|
name: "${var.component}-${var.instance}-directus"
|
||||||
image: "${var.extentions.directus.image.registry}/${var.extentions.directus.image.repository}:${var.extentions.directus.image.tag}"
|
image: "${var.extentions.directus.image.registry}/${var.extentions.directus.image.repository}:${var.extentions.directus.image.tag}"
|
||||||
imagePullPolicy: "${var.extentions.directus.image.pullPolicy}"
|
imagePullPolicy: "${var.extentions.directus.image.pull_policy}"
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 8055
|
- containerPort: 8055
|
||||||
name: http
|
name: http
|
||||||
|
|||||||
@@ -140,7 +140,7 @@ options:
|
|||||||
directus:
|
directus:
|
||||||
enable: false
|
enable: false
|
||||||
image:
|
image:
|
||||||
pullPolicy: IfNotPresent
|
pull_policy: IfNotPresent
|
||||||
registry: docker.io
|
registry: docker.io
|
||||||
repository: directus/directus
|
repository: directus/directus
|
||||||
tag: 10.7.0
|
tag: 10.7.0
|
||||||
@@ -153,13 +153,13 @@ options:
|
|||||||
postgrest:
|
postgrest:
|
||||||
enable: false
|
enable: false
|
||||||
image:
|
image:
|
||||||
pullPolicy: IfNotPresent
|
pull_policy: IfNotPresent
|
||||||
registry: docker.io
|
registry: docker.io
|
||||||
repository: postgrest/postgrest
|
repository: postgrest/postgrest
|
||||||
tag: v11.2.1
|
tag: v11.2.1
|
||||||
swagger:
|
swagger:
|
||||||
enable: true
|
enable: true
|
||||||
pullPolicy: IfNotPresent
|
pull_policy: IfNotPresent
|
||||||
registry: docker.io
|
registry: docker.io
|
||||||
repository: swaggerapi/swagger-ui
|
repository: swaggerapi/swagger-ui
|
||||||
tag: v5.9.0
|
tag: v5.9.0
|
||||||
@@ -167,7 +167,7 @@ options:
|
|||||||
- directus:
|
- directus:
|
||||||
enable: false
|
enable: false
|
||||||
image:
|
image:
|
||||||
pullPolicy: IfNotPresent
|
pull_policy: IfNotPresent
|
||||||
registry: docker.io
|
registry: docker.io
|
||||||
repository: directus/directus
|
repository: directus/directus
|
||||||
tag: 10.7.0
|
tag: 10.7.0
|
||||||
@@ -180,13 +180,13 @@ options:
|
|||||||
postgrest:
|
postgrest:
|
||||||
enable: false
|
enable: false
|
||||||
image:
|
image:
|
||||||
pullPolicy: IfNotPresent
|
pull_policy: IfNotPresent
|
||||||
registry: docker.io
|
registry: docker.io
|
||||||
repository: postgrest/postgrest
|
repository: postgrest/postgrest
|
||||||
tag: v11.2.1
|
tag: v11.2.1
|
||||||
swagger:
|
swagger:
|
||||||
enable: true
|
enable: true
|
||||||
pullPolicy: IfNotPresent
|
pull_policy: IfNotPresent
|
||||||
registry: docker.io
|
registry: docker.io
|
||||||
repository: swaggerapi/swagger-ui
|
repository: swaggerapi/swagger-ui
|
||||||
tag: v5.9.0
|
tag: v5.9.0
|
||||||
@@ -195,7 +195,7 @@ options:
|
|||||||
default:
|
default:
|
||||||
enable: false
|
enable: false
|
||||||
image:
|
image:
|
||||||
pullPolicy: IfNotPresent
|
pull_policy: IfNotPresent
|
||||||
registry: docker.io
|
registry: docker.io
|
||||||
repository: directus/directus
|
repository: directus/directus
|
||||||
tag: 10.7.0
|
tag: 10.7.0
|
||||||
@@ -209,12 +209,12 @@ options:
|
|||||||
type: boolean
|
type: boolean
|
||||||
image:
|
image:
|
||||||
default:
|
default:
|
||||||
pullPolicy: IfNotPresent
|
pull_policy: IfNotPresent
|
||||||
registry: docker.io
|
registry: docker.io
|
||||||
repository: directus/directus
|
repository: directus/directus
|
||||||
tag: 10.7.0
|
tag: 10.7.0
|
||||||
properties:
|
properties:
|
||||||
pullPolicy:
|
pull_policy:
|
||||||
default: IfNotPresent
|
default: IfNotPresent
|
||||||
type: string
|
type: string
|
||||||
registry:
|
registry:
|
||||||
@@ -256,13 +256,13 @@ options:
|
|||||||
default:
|
default:
|
||||||
enable: false
|
enable: false
|
||||||
image:
|
image:
|
||||||
pullPolicy: IfNotPresent
|
pull_policy: IfNotPresent
|
||||||
registry: docker.io
|
registry: docker.io
|
||||||
repository: postgrest/postgrest
|
repository: postgrest/postgrest
|
||||||
tag: v11.2.1
|
tag: v11.2.1
|
||||||
swagger:
|
swagger:
|
||||||
enable: true
|
enable: true
|
||||||
pullPolicy: IfNotPresent
|
pull_policy: IfNotPresent
|
||||||
registry: docker.io
|
registry: docker.io
|
||||||
repository: swaggerapi/swagger-ui
|
repository: swaggerapi/swagger-ui
|
||||||
tag: v5.9.0
|
tag: v5.9.0
|
||||||
@@ -272,12 +272,12 @@ options:
|
|||||||
type: boolean
|
type: boolean
|
||||||
image:
|
image:
|
||||||
default:
|
default:
|
||||||
pullPolicy: IfNotPresent
|
pull_policy: IfNotPresent
|
||||||
registry: docker.io
|
registry: docker.io
|
||||||
repository: postgrest/postgrest
|
repository: postgrest/postgrest
|
||||||
tag: v11.2.1
|
tag: v11.2.1
|
||||||
properties:
|
properties:
|
||||||
pullPolicy:
|
pull_policy:
|
||||||
default: IfNotPresent
|
default: IfNotPresent
|
||||||
type: string
|
type: string
|
||||||
registry:
|
registry:
|
||||||
@@ -293,7 +293,7 @@ options:
|
|||||||
swagger:
|
swagger:
|
||||||
default:
|
default:
|
||||||
enable: true
|
enable: true
|
||||||
pullPolicy: IfNotPresent
|
pull_policy: IfNotPresent
|
||||||
registry: docker.io
|
registry: docker.io
|
||||||
repository: swaggerapi/swagger-ui
|
repository: swaggerapi/swagger-ui
|
||||||
tag: v5.9.0
|
tag: v5.9.0
|
||||||
@@ -301,7 +301,7 @@ options:
|
|||||||
enable:
|
enable:
|
||||||
default: true
|
default: true
|
||||||
type: boolean
|
type: boolean
|
||||||
pullPolicy:
|
pull_policy:
|
||||||
default: IfNotPresent
|
default: IfNotPresent
|
||||||
type: string
|
type: string
|
||||||
registry:
|
registry:
|
||||||
|
|||||||
@@ -84,7 +84,7 @@ resource "kubectl_manifest" "postgrest_deploy" {
|
|||||||
- configMapRef:
|
- configMapRef:
|
||||||
name: "${var.component}-${var.instance}-postgrest"
|
name: "${var.component}-${var.instance}-postgrest"
|
||||||
image: "${var.extentions.postgrest.image.registry}/${var.extentions.postgrest.image.repository}:${var.extentions.postgrest.image.tag}"
|
image: "${var.extentions.postgrest.image.registry}/${var.extentions.postgrest.image.repository}:${var.extentions.postgrest.image.tag}"
|
||||||
imagePullPolicy: "${var.extentions.postgrest.image.pullPolicy}"
|
imagePullPolicy: "${var.extentions.postgrest.image.pull_policy}"
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 3000
|
- containerPort: 3000
|
||||||
name: http
|
name: http
|
||||||
@@ -119,7 +119,7 @@ EOF
|
|||||||
runAsNonRoot: true
|
runAsNonRoot: true
|
||||||
runAsUser: 1000
|
runAsUser: 1000
|
||||||
image: "${var.extentions.postgrest.swagger.registry}/${var.extentions.postgrest.swagger.repository}:${var.extentions.postgrest.swagger.tag}"
|
image: "${var.extentions.postgrest.swagger.registry}/${var.extentions.postgrest.swagger.repository}:${var.extentions.postgrest.swagger.tag}"
|
||||||
imagePullPolicy: "${var.extentions.postgrest.swagger.pullPolicy}"
|
imagePullPolicy: "${var.extentions.postgrest.swagger.pull_policy}"
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 8080
|
- containerPort: 8080
|
||||||
name: swagger
|
name: swagger
|
||||||
|
|||||||
@@ -60,25 +60,25 @@ options:
|
|||||||
images:
|
images:
|
||||||
default:
|
default:
|
||||||
rabbit:
|
rabbit:
|
||||||
pullPolicy: IfNotPresent
|
pull_policy: IfNotPresent
|
||||||
registry: docker.io
|
registry: docker.io
|
||||||
repository: rabbitmq
|
repository: rabbitmq
|
||||||
tag: 3.10.2-management
|
tag: 3.10.2-management
|
||||||
examples:
|
examples:
|
||||||
- rabbit:
|
- rabbit:
|
||||||
pullPolicy: IfNotPresent
|
pull_policy: IfNotPresent
|
||||||
registry: docker.io
|
registry: docker.io
|
||||||
repository: rabbitmq
|
repository: rabbitmq
|
||||||
tag: 3.10.2-management
|
tag: 3.10.2-management
|
||||||
properties:
|
properties:
|
||||||
rabbit:
|
rabbit:
|
||||||
default:
|
default:
|
||||||
pullPolicy: IfNotPresent
|
pull_policy: IfNotPresent
|
||||||
registry: docker.io
|
registry: docker.io
|
||||||
repository: rabbitmq
|
repository: rabbitmq
|
||||||
tag: 3.10.2-management
|
tag: 3.10.2-management
|
||||||
properties:
|
properties:
|
||||||
pullPolicy:
|
pull_policy:
|
||||||
default: IfNotPresent
|
default: IfNotPresent
|
||||||
enum:
|
enum:
|
||||||
- Always
|
- Always
|
||||||
|
|||||||
@@ -19,7 +19,7 @@ options:
|
|||||||
images:
|
images:
|
||||||
default:
|
default:
|
||||||
redis:
|
redis:
|
||||||
pullPolicy: IfNotPresent
|
pull_policy: IfNotPresent
|
||||||
registry: quay.io
|
registry: quay.io
|
||||||
repository: opstree/redis
|
repository: opstree/redis
|
||||||
tag: v7.0.12
|
tag: v7.0.12
|
||||||
@@ -29,7 +29,7 @@ options:
|
|||||||
tag: v1.44.0
|
tag: v1.44.0
|
||||||
examples:
|
examples:
|
||||||
- redis:
|
- redis:
|
||||||
pullPolicy: IfNotPresent
|
pull_policy: IfNotPresent
|
||||||
registry: quay.io
|
registry: quay.io
|
||||||
repository: opstree/redis
|
repository: opstree/redis
|
||||||
tag: v7.0.12
|
tag: v7.0.12
|
||||||
@@ -40,12 +40,12 @@ options:
|
|||||||
properties:
|
properties:
|
||||||
redis:
|
redis:
|
||||||
default:
|
default:
|
||||||
pullPolicy: IfNotPresent
|
pull_policy: IfNotPresent
|
||||||
registry: quay.io
|
registry: quay.io
|
||||||
repository: opstree/redis
|
repository: opstree/redis
|
||||||
tag: v7.0.12
|
tag: v7.0.12
|
||||||
properties:
|
properties:
|
||||||
pullPolicy:
|
pull_policy:
|
||||||
default: IfNotPresent
|
default: IfNotPresent
|
||||||
enum:
|
enum:
|
||||||
- Always
|
- Always
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ resource "kubectl_manifest" "prj_redis" {
|
|||||||
spec:
|
spec:
|
||||||
kubernetesConfig:
|
kubernetesConfig:
|
||||||
image: "${var.images.redis.registry}/${var.images.redis.repository}:${var.images.redis.tag}"
|
image: "${var.images.redis.registry}/${var.images.redis.repository}:${var.images.redis.tag}"
|
||||||
imagePullPolicy: "${var.images.redis.pullPolicy}"
|
imagePullPolicy: "${var.images.redis.pull_policy}"
|
||||||
storage:
|
storage:
|
||||||
volumeClaimTemplate:
|
volumeClaimTemplate:
|
||||||
spec:
|
spec:
|
||||||
|
|||||||
@@ -42,7 +42,7 @@ data "kustomization_overlay" "data" {
|
|||||||
containers:
|
containers:
|
||||||
- name: coredns
|
- name: coredns
|
||||||
image: "${var.image.registry}/${var.image.repository}:${var.image.tag}"
|
image: "${var.image.registry}/${var.image.repository}:${var.image.tag}"
|
||||||
imagePullPolicy: "${var.image.pullPolicy}"
|
imagePullPolicy: "${var.image.pull_policy}"
|
||||||
volumes:
|
volumes:
|
||||||
- name: config-volume
|
- name: config-volume
|
||||||
configMap:
|
configMap:
|
||||||
|
|||||||
@@ -76,17 +76,17 @@ options:
|
|||||||
type: string
|
type: string
|
||||||
image:
|
image:
|
||||||
default:
|
default:
|
||||||
pullPolicy: IfNotPresent
|
pull_policy: IfNotPresent
|
||||||
registry: docker.io
|
registry: docker.io
|
||||||
repository: coredns/coredns
|
repository: coredns/coredns
|
||||||
tag: 1.11.1
|
tag: 1.11.1
|
||||||
examples:
|
examples:
|
||||||
- pullPolicy: IfNotPresent
|
- pull_policy: IfNotPresent
|
||||||
registry: docker.io
|
registry: docker.io
|
||||||
repository: coredns/coredns
|
repository: coredns/coredns
|
||||||
tag: 1.11.1
|
tag: 1.11.1
|
||||||
properties:
|
properties:
|
||||||
pullPolicy:
|
pull_policy:
|
||||||
default: IfNotPresent
|
default: IfNotPresent
|
||||||
enum:
|
enum:
|
||||||
- Always
|
- Always
|
||||||
|
|||||||
@@ -32,7 +32,7 @@ resource "kubectl_manifest" "haraka_deploy" {
|
|||||||
runAsNonRoot: true
|
runAsNonRoot: true
|
||||||
runAsUser: 1000
|
runAsUser: 1000
|
||||||
image: "${var.images.haraka.registry}/${var.images.haraka.repository}:${var.images.haraka.tag}"
|
image: "${var.images.haraka.registry}/${var.images.haraka.repository}:${var.images.haraka.tag}"
|
||||||
imagePullPolicy: "${var.images.haraka.pullPolicy}"
|
imagePullPolicy: "${var.images.haraka.pull_policy}"
|
||||||
ports:
|
ports:
|
||||||
- name: smtp
|
- name: smtp
|
||||||
containerPort: 2500
|
containerPort: 2500
|
||||||
|
|||||||
@@ -86,95 +86,95 @@ options:
|
|||||||
images:
|
images:
|
||||||
default:
|
default:
|
||||||
haraka:
|
haraka:
|
||||||
pullPolicy: IfNotPresent
|
pull_policy: IfNotPresent
|
||||||
registry: docker.io
|
registry: docker.io
|
||||||
repository: sebt3/wildduck-haraka
|
repository: sebt3/wildduck-haraka
|
||||||
tag: 3.0.2
|
tag: 3.0.2
|
||||||
redis:
|
redis:
|
||||||
pullPolicy: IfNotPresent
|
pull_policy: IfNotPresent
|
||||||
registry: quay.io
|
registry: quay.io
|
||||||
repository: opstree/redis
|
repository: opstree/redis
|
||||||
tag: v7.0.12
|
tag: v7.0.12
|
||||||
redis_exporter:
|
redis_exporter:
|
||||||
pullPolicy: IfNotPresent
|
pull_policy: IfNotPresent
|
||||||
registry: quay.io
|
registry: quay.io
|
||||||
repository: opstree/redis-exporter
|
repository: opstree/redis-exporter
|
||||||
tag: v1.44.0
|
tag: v1.44.0
|
||||||
rspamd:
|
rspamd:
|
||||||
pullPolicy: IfNotPresent
|
pull_policy: IfNotPresent
|
||||||
registry: docker.io
|
registry: docker.io
|
||||||
repository: sebt3/wildduck-rspamd
|
repository: sebt3/wildduck-rspamd
|
||||||
tag: 3.18.3
|
tag: 3.18.3
|
||||||
scimgateway:
|
scimgateway:
|
||||||
pullPolicy: IfNotPresent
|
pull_policy: IfNotPresent
|
||||||
registry: docker.io
|
registry: docker.io
|
||||||
repository: sebt3/wildduck-scim
|
repository: sebt3/wildduck-scim
|
||||||
tag: 1.0.0
|
tag: 1.0.0
|
||||||
webmail:
|
webmail:
|
||||||
pullPolicy: IfNotPresent
|
pull_policy: IfNotPresent
|
||||||
registry: docker.io
|
registry: docker.io
|
||||||
repository: sebt3/wildduck-webmail
|
repository: sebt3/wildduck-webmail
|
||||||
tag: 1.0.1
|
tag: 1.0.1
|
||||||
wildduck:
|
wildduck:
|
||||||
pullPolicy: IfNotPresent
|
pull_policy: IfNotPresent
|
||||||
registry: docker.io
|
registry: docker.io
|
||||||
repository: nodemailer/wildduck
|
repository: nodemailer/wildduck
|
||||||
tag: 1.39.10
|
tag: 1.39.10
|
||||||
zonemta:
|
zonemta:
|
||||||
pullPolicy: IfNotPresent
|
pull_policy: IfNotPresent
|
||||||
registry: docker.io
|
registry: docker.io
|
||||||
repository: sebt3/wildduck-zonemta
|
repository: sebt3/wildduck-zonemta
|
||||||
tag: 3.4.0
|
tag: 3.4.0
|
||||||
examples:
|
examples:
|
||||||
- haraka:
|
- haraka:
|
||||||
pullPolicy: IfNotPresent
|
pull_policy: IfNotPresent
|
||||||
registry: docker.io
|
registry: docker.io
|
||||||
repository: sebt3/wildduck-haraka
|
repository: sebt3/wildduck-haraka
|
||||||
tag: 3.0.2
|
tag: 3.0.2
|
||||||
redis:
|
redis:
|
||||||
pullPolicy: IfNotPresent
|
pull_policy: IfNotPresent
|
||||||
registry: quay.io
|
registry: quay.io
|
||||||
repository: opstree/redis
|
repository: opstree/redis
|
||||||
tag: v7.0.12
|
tag: v7.0.12
|
||||||
redis_exporter:
|
redis_exporter:
|
||||||
pullPolicy: IfNotPresent
|
pull_policy: IfNotPresent
|
||||||
registry: quay.io
|
registry: quay.io
|
||||||
repository: opstree/redis-exporter
|
repository: opstree/redis-exporter
|
||||||
tag: v1.44.0
|
tag: v1.44.0
|
||||||
rspamd:
|
rspamd:
|
||||||
pullPolicy: IfNotPresent
|
pull_policy: IfNotPresent
|
||||||
registry: docker.io
|
registry: docker.io
|
||||||
repository: sebt3/wildduck-rspamd
|
repository: sebt3/wildduck-rspamd
|
||||||
tag: 3.18.3
|
tag: 3.18.3
|
||||||
scimgateway:
|
scimgateway:
|
||||||
pullPolicy: IfNotPresent
|
pull_policy: IfNotPresent
|
||||||
registry: docker.io
|
registry: docker.io
|
||||||
repository: sebt3/wildduck-scim
|
repository: sebt3/wildduck-scim
|
||||||
tag: 1.0.0
|
tag: 1.0.0
|
||||||
webmail:
|
webmail:
|
||||||
pullPolicy: IfNotPresent
|
pull_policy: IfNotPresent
|
||||||
registry: docker.io
|
registry: docker.io
|
||||||
repository: sebt3/wildduck-webmail
|
repository: sebt3/wildduck-webmail
|
||||||
tag: 1.0.1
|
tag: 1.0.1
|
||||||
wildduck:
|
wildduck:
|
||||||
pullPolicy: IfNotPresent
|
pull_policy: IfNotPresent
|
||||||
registry: docker.io
|
registry: docker.io
|
||||||
repository: nodemailer/wildduck
|
repository: nodemailer/wildduck
|
||||||
tag: 1.39.10
|
tag: 1.39.10
|
||||||
zonemta:
|
zonemta:
|
||||||
pullPolicy: IfNotPresent
|
pull_policy: IfNotPresent
|
||||||
registry: docker.io
|
registry: docker.io
|
||||||
repository: sebt3/wildduck-zonemta
|
repository: sebt3/wildduck-zonemta
|
||||||
tag: 3.4.0
|
tag: 3.4.0
|
||||||
properties:
|
properties:
|
||||||
haraka:
|
haraka:
|
||||||
default:
|
default:
|
||||||
pullPolicy: IfNotPresent
|
pull_policy: IfNotPresent
|
||||||
registry: docker.io
|
registry: docker.io
|
||||||
repository: sebt3/wildduck-haraka
|
repository: sebt3/wildduck-haraka
|
||||||
tag: 3.0.2
|
tag: 3.0.2
|
||||||
properties:
|
properties:
|
||||||
pullPolicy:
|
pull_policy:
|
||||||
default: IfNotPresent
|
default: IfNotPresent
|
||||||
enum:
|
enum:
|
||||||
- Always
|
- Always
|
||||||
@@ -193,12 +193,12 @@ options:
|
|||||||
type: object
|
type: object
|
||||||
redis:
|
redis:
|
||||||
default:
|
default:
|
||||||
pullPolicy: IfNotPresent
|
pull_policy: IfNotPresent
|
||||||
registry: quay.io
|
registry: quay.io
|
||||||
repository: opstree/redis
|
repository: opstree/redis
|
||||||
tag: v7.0.12
|
tag: v7.0.12
|
||||||
properties:
|
properties:
|
||||||
pullPolicy:
|
pull_policy:
|
||||||
default: IfNotPresent
|
default: IfNotPresent
|
||||||
enum:
|
enum:
|
||||||
- Always
|
- Always
|
||||||
@@ -217,12 +217,12 @@ options:
|
|||||||
type: object
|
type: object
|
||||||
redis_exporter:
|
redis_exporter:
|
||||||
default:
|
default:
|
||||||
pullPolicy: IfNotPresent
|
pull_policy: IfNotPresent
|
||||||
registry: quay.io
|
registry: quay.io
|
||||||
repository: opstree/redis-exporter
|
repository: opstree/redis-exporter
|
||||||
tag: v1.44.0
|
tag: v1.44.0
|
||||||
properties:
|
properties:
|
||||||
pullPolicy:
|
pull_policy:
|
||||||
default: IfNotPresent
|
default: IfNotPresent
|
||||||
enum:
|
enum:
|
||||||
- Always
|
- Always
|
||||||
@@ -241,12 +241,12 @@ options:
|
|||||||
type: object
|
type: object
|
||||||
rspamd:
|
rspamd:
|
||||||
default:
|
default:
|
||||||
pullPolicy: IfNotPresent
|
pull_policy: IfNotPresent
|
||||||
registry: docker.io
|
registry: docker.io
|
||||||
repository: sebt3/wildduck-rspamd
|
repository: sebt3/wildduck-rspamd
|
||||||
tag: 3.18.3
|
tag: 3.18.3
|
||||||
properties:
|
properties:
|
||||||
pullPolicy:
|
pull_policy:
|
||||||
default: IfNotPresent
|
default: IfNotPresent
|
||||||
enum:
|
enum:
|
||||||
- Always
|
- Always
|
||||||
@@ -265,12 +265,12 @@ options:
|
|||||||
type: object
|
type: object
|
||||||
scimgateway:
|
scimgateway:
|
||||||
default:
|
default:
|
||||||
pullPolicy: IfNotPresent
|
pull_policy: IfNotPresent
|
||||||
registry: docker.io
|
registry: docker.io
|
||||||
repository: sebt3/wildduck-scim
|
repository: sebt3/wildduck-scim
|
||||||
tag: 1.0.0
|
tag: 1.0.0
|
||||||
properties:
|
properties:
|
||||||
pullPolicy:
|
pull_policy:
|
||||||
default: IfNotPresent
|
default: IfNotPresent
|
||||||
enum:
|
enum:
|
||||||
- Always
|
- Always
|
||||||
@@ -289,12 +289,12 @@ options:
|
|||||||
type: object
|
type: object
|
||||||
webmail:
|
webmail:
|
||||||
default:
|
default:
|
||||||
pullPolicy: IfNotPresent
|
pull_policy: IfNotPresent
|
||||||
registry: docker.io
|
registry: docker.io
|
||||||
repository: sebt3/wildduck-webmail
|
repository: sebt3/wildduck-webmail
|
||||||
tag: 1.0.1
|
tag: 1.0.1
|
||||||
properties:
|
properties:
|
||||||
pullPolicy:
|
pull_policy:
|
||||||
default: IfNotPresent
|
default: IfNotPresent
|
||||||
enum:
|
enum:
|
||||||
- Always
|
- Always
|
||||||
@@ -313,12 +313,12 @@ options:
|
|||||||
type: object
|
type: object
|
||||||
wildduck:
|
wildduck:
|
||||||
default:
|
default:
|
||||||
pullPolicy: IfNotPresent
|
pull_policy: IfNotPresent
|
||||||
registry: docker.io
|
registry: docker.io
|
||||||
repository: nodemailer/wildduck
|
repository: nodemailer/wildduck
|
||||||
tag: 1.39.10
|
tag: 1.39.10
|
||||||
properties:
|
properties:
|
||||||
pullPolicy:
|
pull_policy:
|
||||||
default: IfNotPresent
|
default: IfNotPresent
|
||||||
enum:
|
enum:
|
||||||
- Always
|
- Always
|
||||||
@@ -337,12 +337,12 @@ options:
|
|||||||
type: object
|
type: object
|
||||||
zonemta:
|
zonemta:
|
||||||
default:
|
default:
|
||||||
pullPolicy: IfNotPresent
|
pull_policy: IfNotPresent
|
||||||
registry: docker.io
|
registry: docker.io
|
||||||
repository: sebt3/wildduck-zonemta
|
repository: sebt3/wildduck-zonemta
|
||||||
tag: 3.4.0
|
tag: 3.4.0
|
||||||
properties:
|
properties:
|
||||||
pullPolicy:
|
pull_policy:
|
||||||
default: IfNotPresent
|
default: IfNotPresent
|
||||||
enum:
|
enum:
|
||||||
- Always
|
- Always
|
||||||
|
|||||||
@@ -51,7 +51,7 @@ resource "kubectl_manifest" "prj_mongo" {
|
|||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: mongod
|
- name: mongod
|
||||||
imagePullPolicy: "${var.images.webmail.pullPolicy}"
|
imagePullPolicy: "${var.images.webmail.pull_policy}"
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
cpu: "1"
|
cpu: "1"
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ resource "kubectl_manifest" "prj_redis" {
|
|||||||
spec:
|
spec:
|
||||||
kubernetesConfig:
|
kubernetesConfig:
|
||||||
image: "${var.images.redis.registry}/${var.images.redis.repository}:${var.images.redis.tag}"
|
image: "${var.images.redis.registry}/${var.images.redis.repository}:${var.images.redis.tag}"
|
||||||
imagePullPolicy: "${var.images.redis.pullPolicy}"
|
imagePullPolicy: "${var.images.redis.pull_policy}"
|
||||||
storage:
|
storage:
|
||||||
volumeClaimTemplate:
|
volumeClaimTemplate:
|
||||||
spec:
|
spec:
|
||||||
|
|||||||
@@ -32,7 +32,7 @@ resource "kubectl_manifest" "rspamd_deploy" {
|
|||||||
runAsNonRoot: true
|
runAsNonRoot: true
|
||||||
runAsUser: 100
|
runAsUser: 100
|
||||||
image: "${var.images.rspamd.registry}/${var.images.rspamd.repository}:${var.images.rspamd.tag}"
|
image: "${var.images.rspamd.registry}/${var.images.rspamd.repository}:${var.images.rspamd.tag}"
|
||||||
imagePullPolicy: "${var.images.rspamd.pullPolicy}"
|
imagePullPolicy: "${var.images.rspamd.pull_policy}"
|
||||||
ports:
|
ports:
|
||||||
- name: rspamd
|
- name: rspamd
|
||||||
containerPort: 11333
|
containerPort: 11333
|
||||||
|
|||||||
@@ -32,7 +32,7 @@ resource "kubectl_manifest" "scimgateway_deploy" {
|
|||||||
runAsNonRoot: true
|
runAsNonRoot: true
|
||||||
runAsUser: 1000
|
runAsUser: 1000
|
||||||
image: "${var.images.scimgateway.registry}/${var.images.scimgateway.repository}:${var.images.scimgateway.tag}"
|
image: "${var.images.scimgateway.registry}/${var.images.scimgateway.repository}:${var.images.scimgateway.tag}"
|
||||||
imagePullPolicy: "${var.images.scimgateway.pullPolicy}"
|
imagePullPolicy: "${var.images.scimgateway.pull_policy}"
|
||||||
ports:
|
ports:
|
||||||
- name: http
|
- name: http
|
||||||
containerPort: 8880
|
containerPort: 8880
|
||||||
|
|||||||
@@ -32,7 +32,7 @@ resource "kubectl_manifest" "webmail_deploy" {
|
|||||||
runAsNonRoot: true
|
runAsNonRoot: true
|
||||||
runAsUser: 1000
|
runAsUser: 1000
|
||||||
image: "${var.images.webmail.registry}/${var.images.webmail.repository}:${var.images.webmail.tag}"
|
image: "${var.images.webmail.registry}/${var.images.webmail.repository}:${var.images.webmail.tag}"
|
||||||
imagePullPolicy: "${var.images.webmail.pullPolicy}"
|
imagePullPolicy: "${var.images.webmail.pull_policy}"
|
||||||
args:
|
args:
|
||||||
- "--config=./config/webmail.toml"
|
- "--config=./config/webmail.toml"
|
||||||
ports:
|
ports:
|
||||||
|
|||||||
@@ -32,7 +32,7 @@ resource "kubectl_manifest" "wildduck_deploy" {
|
|||||||
runAsNonRoot: true
|
runAsNonRoot: true
|
||||||
runAsUser: 1000
|
runAsUser: 1000
|
||||||
image: "${var.images.wildduck.registry}/${var.images.wildduck.repository}:${var.images.wildduck.tag}"
|
image: "${var.images.wildduck.registry}/${var.images.wildduck.repository}:${var.images.wildduck.tag}"
|
||||||
imagePullPolicy: "${var.images.wildduck.pullPolicy}"
|
imagePullPolicy: "${var.images.wildduck.pull_policy}"
|
||||||
ports:
|
ports:
|
||||||
- name: http
|
- name: http
|
||||||
containerPort: 8000
|
containerPort: 8000
|
||||||
|
|||||||
@@ -32,7 +32,7 @@ resource "kubectl_manifest" "zonemta_deploy" {
|
|||||||
runAsNonRoot: true
|
runAsNonRoot: true
|
||||||
runAsUser: 1000
|
runAsUser: 1000
|
||||||
image: "${var.images.zonemta.registry}/${var.images.zonemta.repository}:${var.images.zonemta.tag}"
|
image: "${var.images.zonemta.registry}/${var.images.zonemta.repository}:${var.images.zonemta.tag}"
|
||||||
imagePullPolicy: "${var.images.zonemta.pullPolicy}"
|
imagePullPolicy: "${var.images.zonemta.pull_policy}"
|
||||||
ports:
|
ports:
|
||||||
- name: smtp
|
- name: smtp
|
||||||
containerPort: 5870
|
containerPort: 5870
|
||||||
|
|||||||
Reference in New Issue
Block a user