Commit c0552c3c authored by Waqar Ahmed's avatar Waqar Ahmed

Remove nextcloud chart deps

parent 8e719a47
...@@ -21,16 +21,3 @@ maintainers: ...@@ -21,16 +21,3 @@ maintainers:
email: christian.ingenhaag@googlemail.com email: christian.ingenhaag@googlemail.com
- name: billimek - name: billimek
email: jeff@billimek.com email: jeff@billimek.com
dependencies:
- name: postgresql
version: 9.8.9
repository: https://charts.bitnami.com/bitnami
condition: postgresql.enabled
- name: mariadb
version: 7.10.2
repository: https://charts.bitnami.com/bitnami
condition: mariadb.enabled
- name: redis
version: 11.0.5
repository: https://charts.bitnami.com/bitnami
condition: redis.enabled
...@@ -5,6 +5,10 @@ groups: ...@@ -5,6 +5,10 @@ groups:
description: "Configuration details for Nextcloud workload" description: "Configuration details for Nextcloud workload"
- name: "Storage Configuration" - name: "Storage Configuration"
description: "Configure Storage for Nextcloud" description: "Configure Storage for Nextcloud"
- name: "Container Configuration"
description: "Configure nextcloud container parameters"
- name: "Nginx Configuration"
description: "Use nginx with Nextcloud"
questions: questions:
# Image related # Image related
...@@ -50,6 +54,7 @@ questions: ...@@ -50,6 +54,7 @@ questions:
schema: schema:
type: dict type: dict
required: true required: true
additional_attrs: true
attrs: attrs:
- variable: host - variable: host
description: "Nextcloud host to create application URLs" description: "Nextcloud host to create application URLs"
...@@ -94,6 +99,7 @@ questions: ...@@ -94,6 +99,7 @@ questions:
schema: schema:
type: dict type: dict
required: true required: true
additional_attrs: true
attrs: attrs:
- variable: nodePort - variable: nodePort
label: "Node Port to use for Nextcloud" label: "Node Port to use for Nextcloud"
...@@ -151,4 +157,61 @@ questions: ...@@ -151,4 +157,61 @@ questions:
group: "Storage Configuration" group: "Storage Configuration"
schema: schema:
type: hostpath type: hostpath
required: true
- variable: lifecycle
label: "Define container Lifecycle"
group: "Container Configuration"
schema:
type: dict
additional_attrs: true
attrs: []
- variable: nginx
label: "Configure Nginx"
group: "Nginx Configuration"
schema:
type: dict
additional_attrs: true
attrs: []
- variable: internalDatabase
label: "REMOVEME"
schema:
type: dict
additional_attrs: true
attrs: []
- variable: externalDatabase
label: "REMOVEME"
schema:
type: dict
additional_attrs: true
attrs: []
- variable: postgresql
label: "REMOVEME"
schema:
type: dict
additional_attrs: true
attrs: []
- variable: cronjob
label: "REMOVEME"
schema:
type: dict
additional_attrs: true
attrs: []
- variable: livenessProbe
label: "REMOVEME"
schema:
type: dict
additional_attrs: true
attrs: []
- variable: readinessProbe
label: "REMOVEME"
schema:
type: dict
additional_attrs: true
attrs: []
...@@ -15,7 +15,7 @@ metadata: ...@@ -15,7 +15,7 @@ metadata:
spec: spec:
replicas: {{ .Values.replicaCount }} replicas: {{ .Values.replicaCount }}
strategy: strategy:
{{ toYaml .Values.nextcloud.strategy | indent 4 }} type: {{ .Values.nextcloud.strategy }}
selector: selector:
matchLabels: matchLabels:
app.kubernetes.io/name: {{ include "nextcloud.name" . }} app.kubernetes.io/name: {{ include "nextcloud.name" . }}
......
...@@ -8,51 +8,9 @@ image: ...@@ -8,51 +8,9 @@ image:
# pullSecrets: # pullSecrets:
# - myRegistrKeySecretName # - myRegistrKeySecretName
nameOverride: ""
fullnameOverride: ""
# Number of replicas to be deployed
replicaCount: 1
## Allowing use of ingress controllers ## Allowing use of ingress controllers
## ref: https://kubernetes.io/docs/concepts/services-networking/ingress/ ## ref: https://kubernetes.io/docs/concepts/services-networking/ingress/
## ##
ingress:
enabled: false
annotations: {}
# nginx.ingress.kubernetes.io/proxy-body-size: 4G
# kubernetes.io/tls-acme: "true"
# certmanager.k8s.io/cluster-issuer: letsencrypt-prod
# nginx.ingress.kubernetes.io/server-snippet: |-
# server_tokens off;
# proxy_hide_header X-Powered-By;
# rewrite ^/.well-known/webfinger /public.php?service=webfinger last;
# rewrite ^/.well-known/host-meta /public.php?service=host-meta last;
# rewrite ^/.well-known/host-meta.json /public.php?service=host-meta-json;
# location = /.well-known/carddav {
# return 301 $scheme://$host/remote.php/dav;
# }
# location = /.well-known/caldav {
# return 301 $scheme://$host/remote.php/dav;
# }
# location = /robots.txt {
# allow all;
# log_not_found off;
# access_log off;
# }
# location ~ ^/(?:build|tests|config|lib|3rdparty|templates|data)/ {
# deny all;
# }
# location ~ ^/(?:autotest|occ|issue|indie|db_|console) {
# deny all;
# }
# tls:
# - secretName: nextcloud-tls
# hosts:
# - nextcloud.kube.home
labels: {}
# Allow configuration of lifecycle hooks # Allow configuration of lifecycle hooks
# ref: https://kubernetes.io/docs/tasks/configure-pod-container/attach-handler-lifecycle-event/ # ref: https://kubernetes.io/docs/tasks/configure-pod-container/attach-handler-lifecycle-event/
...@@ -128,8 +86,7 @@ nextcloud: ...@@ -128,8 +86,7 @@ nextcloud:
## Strategy used to replace old pods ## Strategy used to replace old pods
## IMPORTANT: use with care, it is suggested to leave as that for upgrade purposes ## IMPORTANT: use with care, it is suggested to leave as that for upgrade purposes
## ref: https://kubernetes.io/docs/concepts/workloads/controllers/deployment/#strategy ## ref: https://kubernetes.io/docs/concepts/workloads/controllers/deployment/#strategy
strategy: strategy: "Recreate"
type: Recreate
# type: RollingUpdate # type: RollingUpdate
# rollingUpdate: # rollingUpdate:
# maxSurge: 1 # maxSurge: 1
...@@ -204,31 +161,6 @@ externalDatabase: ...@@ -204,31 +161,6 @@ externalDatabase:
# usernameKey: username # usernameKey: username
# passwordKey: password # passwordKey: password
##
## MariaDB chart configuration
##
mariadb:
## Whether to deploy a mariadb server to satisfy the applications database requirements. To use an external database set this to false and configure the externalDatabase parameters
enabled: false
db:
name: nextcloud
user: nextcloud
password: changeme
replication:
enabled: false
## Enable persistence using Persistent Volume Claims
## ref: http://kubernetes.io/docs/user-guide/persistent-volumes/
##
master:
persistence:
enabled: false
# storageClass: ""
accessMode: ReadWriteOnce
size: 8Gi
postgresql: postgresql:
enabled: false enabled: false
global: global:
...@@ -240,10 +172,6 @@ postgresql: ...@@ -240,10 +172,6 @@ postgresql:
enabled: false enabled: false
# storageClass: "" # storageClass: ""
redis:
enabled: false
usePassword: false
## Cronjob to execute Nextcloud background tasks ## Cronjob to execute Nextcloud background tasks
## ref: https://docs.nextcloud.com/server/latest/admin_manual/configuration_server/background_jobs_configuration.html#webcron ## ref: https://docs.nextcloud.com/server/latest/admin_manual/configuration_server/background_jobs_configuration.html#webcron
## ##
...@@ -293,42 +221,6 @@ service: ...@@ -293,42 +221,6 @@ service:
loadBalancerIP: nil loadBalancerIP: nil
nodePort: 9000 nodePort: 9000
## Enable persistence using Persistent Volume Claims
## ref: http://kubernetes.io/docs/user-guide/persistent-volumes/
##
persistence:
# Nextcloud Data (/var/www/html)
enabled: false
annotations: {}
## nextcloud data Persistent Volume Storage Class
## If defined, storageClassName: <storageClass>
## If set to "-", storageClassName: "", which disables dynamic provisioning
## If undefined (the default) or set to null, no storageClassName spec is
## set, choosing the default provisioner. (gp2 on AWS, standard on
## GKE, AWS & OpenStack)
##
# storageClass: "-"
## A manually managed Persistent Volume and Claim
## Requires persistence.enabled: true
## If defined, PVC must be created manually before volume will be bound
# existingClaim:
accessMode: ReadWriteOnce
size: 8Gi
resources: {}
# We usually recommend not to specify default resources and to leave this as a conscious
# choice for the user. This also increases chances charts run on environments with little
# resources, such as Minikube. If you do want to specify resources, uncomment the following
# lines, adjust them as necessary, and remove the curly braces after 'resources:'.
# limits:
# cpu: 100m
# memory: 128Mi
# requests:
# cpu: 100m
# memory: 128Mi
## Liveness and readiness probe values ## Liveness and readiness probe values
## Ref: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#container-probes ## Ref: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#container-probes
## ##
...@@ -346,54 +238,3 @@ readinessProbe: ...@@ -346,54 +238,3 @@ readinessProbe:
timeoutSeconds: 5 timeoutSeconds: 5
failureThreshold: 3 failureThreshold: 3
successThreshold: 1 successThreshold: 1
## Enable pod autoscaling using HorizontalPodAutoscaler
## ref: https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/
##
hpa:
enabled: false
cputhreshold: 60
minPods: 1
maxPods: 10
nodeSelector: {}
tolerations: []
affinity: {}
## Prometheus Exporter / Metrics
##
metrics:
enabled: false
replicaCount: 1
# The metrics exporter needs to know how you serve Nextcloud either http or https
https: false
timeout: 5s
image:
repository: xperimental/nextcloud-exporter
tag: v0.3.0
pullPolicy: IfNotPresent
## Metrics exporter resource requests and limits
## ref: http://kubernetes.io/docs/user-guide/compute-resources/
##
# resources: {}
## Metrics exporter pod Annotation and Labels
# podAnnotations: {}
# podLabels: {}
service:
type: ClusterIP
## Use serviceLoadBalancerIP to request a specific static IP,
## otherwise leave blank
# loadBalancerIP:
annotations:
prometheus.io/scrape: "true"
prometheus.io/port: "9205"
labels: {}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment