Browse Source

Appsmith y Mattermost a helm y cambios en puertos

main
Celestino Rey 2 years ago
parent
commit
13176ae496
42 changed files with 273 additions and 7196 deletions
  1. +0
    -27
      AppSmith/docker-compose.yml
  2. +23
    -0
      HelmCharts/appsmith-chart/.helmignore
  3. +24
    -0
      HelmCharts/appsmith-chart/Chart.yaml
  4. +0
    -0
      HelmCharts/appsmith-chart/templates/appsmith-claim0-persistentvolumeclaim.yaml
  5. +0
    -0
      HelmCharts/appsmith-chart/templates/appsmith-deployment.yaml
  6. +0
    -0
      HelmCharts/appsmith-chart/templates/appsmith-secrets.yaml
  7. +0
    -0
      HelmCharts/appsmith-chart/templates/appsmith-service.yaml
  8. +1
    -1
      HelmCharts/appsmith-chart/templates/mysql-deployment.yaml
  9. +1
    -1
      HelmCharts/appsmith-chart/templates/php-myadmin-deployment.yaml
  10. +0
    -0
      HelmCharts/appsmith-chart/templates/pv-local-appsmith.yaml
  11. +0
    -0
      HelmCharts/appsmith-chart/templates/pv-local-mysql.yaml
  12. +82
    -0
      HelmCharts/appsmith-chart/values.yaml
  13. +1
    -1
      HelmCharts/firefly-chart/templates/mysql-deployment.yaml
  14. +1
    -1
      HelmCharts/firefly-chart/templates/php-deployment.yaml
  15. +23
    -0
      HelmCharts/mattermost-chart/.helmignore
  16. +24
    -0
      HelmCharts/mattermost-chart/Chart.yaml
  17. +0
    -0
      HelmCharts/mattermost-chart/templates/mattermost-deployment.yaml
  18. +0
    -0
      HelmCharts/mattermost-chart/templates/mm-service.yaml
  19. +0
    -0
      HelmCharts/mattermost-chart/templates/mysql-deployment-mm.yaml
  20. +0
    -0
      HelmCharts/mattermost-chart/templates/pv-local-mattermost.yaml
  21. +0
    -0
      HelmCharts/mattermost-chart/templates/pv-local-mysql-mm.yaml
  22. +0
    -0
      HelmCharts/mattermost-chart/templates/secrets.yaml
  23. +82
    -0
      HelmCharts/mattermost-chart/values.yaml
  24. +1
    -1
      HelmCharts/navidrome-chart/templates/navidrome-deployment.yaml
  25. +1
    -1
      HelmCharts/nextcloud-chart/templates/nextcloud-deployment.yaml
  26. +1
    -1
      HelmCharts/nextcloud-chart/templates/php-deployment.yaml
  27. +1
    -1
      HelmCharts/repostajes-chart/templates/mysql-deployment.yaml
  28. +1
    -1
      HelmCharts/repostajes-chart/templates/php-myadmin-deployment.yaml
  29. +1
    -1
      HelmCharts/repostajes-chart/templates/repostajes-deployment.yaml
  30. +1
    -1
      HelmCharts/wordpress-chart/templates/mysql-deployment.yaml
  31. +1
    -1
      HelmCharts/wordpress-chart/templates/php-deployment.yaml
  32. +1
    -1
      HelmCharts/wordpress-chart/templates/pv-local-mysql.yaml
  33. +1
    -1
      HelmCharts/wordpress-chart/templates/pv-local-wordpress.yaml
  34. +1
    -1
      HelmCharts/wordpress-chart/templates/wordpress-deployment.yaml
  35. +0
    -1
      Mattermost/README.md
  36. +0
    -6
      Mattermost/creaTodo.sh
  37. +0
    -6
      Mattermost/paraTodo.sh
  38. +0
    -13
      Mattermost/temp/mattermost-installation.yaml
  39. +0
    -7036
      Mattermost/temp/mattermost-operator.yaml
  40. +0
    -71
      Mattermost/temp/mysql-deployment-mm.yaml
  41. +0
    -10
      Mattermost/temp/mysqlmm-secret.yaml
  42. +0
    -11
      Mattermost/temp/pv-local-mysql-mm.yaml

+ 0
- 27
AppSmith/docker-compose.yml View File

@ -1,27 +0,0 @@
version: "3"
services:
appsmith:
image: index.docker.io/appsmith/appsmith-ce
container_name: appsmith
ports:
- "80:80"
- "443:443"
volumes:
- ./stacks:/appsmith-stacks
restart: unless-stopped
# Uncomment the lines below to enable auto-update
#labels:
# com.centurylinklabs.watchtower.enable: "true"
#auto_update:
# image: containrrr/watchtower
# volumes:
# - /var/run/docker.sock:/var/run/docker.sock
# # Update check interval in seconds.
# command: --schedule "0 0 * ? * *" --label-enable --cleanup
# restart: unless-stopped
# depends_on:
# - appsmith
# environment:
# - WATCHTOWER_LIFECYCLE_HOOKS=true

+ 23
- 0
HelmCharts/appsmith-chart/.helmignore View File

@ -0,0 +1,23 @@
# Patterns to ignore when building packages.
# This supports shell glob matching, relative path matching, and
# negation (prefixed with !). Only one pattern per line.
.DS_Store
# Common VCS dirs
.git/
.gitignore
.bzr/
.bzrignore
.hg/
.hgignore
.svn/
# Common backup files
*.swp
*.bak
*.tmp
*.orig
*~
# Various IDEs
.project
.idea/
*.tmproj
.vscode/

+ 24
- 0
HelmCharts/appsmith-chart/Chart.yaml View File

@ -0,0 +1,24 @@
apiVersion: v2
name: appsmith-chart
description: A Helm chart for Kubernetes
# A chart can be either an 'application' or a 'library' chart.
#
# Application charts are a collection of templates that can be packaged into versioned archives
# to be deployed.
#
# Library charts provide useful utilities or functions for the chart developer. They're included as
# a dependency of application charts to inject those utilities and functions into the rendering
# pipeline. Library charts do not define any templates and therefore cannot be deployed.
type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.1.0
# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
# follow Semantic Versioning. They should reflect the version the application is using.
# It is recommended to use it with quotes.
appVersion: "1.16.0"

AppSmith/appsmith-claim0-persistentvolumeclaim.yaml → HelmCharts/appsmith-chart/templates/appsmith-claim0-persistentvolumeclaim.yaml View File


AppSmith/appsmith-deployment.yaml → HelmCharts/appsmith-chart/templates/appsmith-deployment.yaml View File


AppSmith/appsmith-secrets.yaml → HelmCharts/appsmith-chart/templates/appsmith-secrets.yaml View File


AppSmith/appsmith-service.yaml → HelmCharts/appsmith-chart/templates/appsmith-service.yaml View File


AppSmith/mysql-deployment.yaml → HelmCharts/appsmith-chart/templates/mysql-deployment.yaml View File

@ -10,7 +10,7 @@ spec:
ports: ports:
- name: mysql - name: mysql
port: 3306 port: 3306
nodePort: 30785
nodePort: 30781
targetPort: mysql targetPort: mysql
selector: selector:
app: appsmith app: appsmith

AppSmith/php-myadmin-deployment.yaml → HelmCharts/appsmith-chart/templates/php-myadmin-deployment.yaml View File

@ -13,7 +13,7 @@ spec:
ports: ports:
- name: phpadmin - name: phpadmin
port: 80 port: 80
nodePort: 30486
nodePort: 30782
targetPort: phpmyadm targetPort: phpmyadm
--- ---
apiVersion: apps/v1 apiVersion: apps/v1

AppSmith/pv-local-appsmith.yaml → HelmCharts/appsmith-chart/templates/pv-local-appsmith.yaml View File


AppSmith/pv-local-mysql.yaml → HelmCharts/appsmith-chart/templates/pv-local-mysql.yaml View File


+ 82
- 0
HelmCharts/appsmith-chart/values.yaml View File

@ -0,0 +1,82 @@
# Default values for appsmith-chart.
# This is a YAML-formatted file.
# Declare variables to be passed into your templates.
replicaCount: 1
image:
repository: nginx
pullPolicy: IfNotPresent
# Overrides the image tag whose default is the chart appVersion.
tag: ""
imagePullSecrets: []
nameOverride: ""
fullnameOverride: ""
serviceAccount:
# Specifies whether a service account should be created
create: true
# Annotations to add to the service account
annotations: {}
# The name of the service account to use.
# If not set and create is true, a name is generated using the fullname template
name: ""
podAnnotations: {}
podSecurityContext: {}
# fsGroup: 2000
securityContext: {}
# capabilities:
# drop:
# - ALL
# readOnlyRootFilesystem: true
# runAsNonRoot: true
# runAsUser: 1000
service:
type: ClusterIP
port: 80
ingress:
enabled: false
className: ""
annotations: {}
# kubernetes.io/ingress.class: nginx
# kubernetes.io/tls-acme: "true"
hosts:
- host: chart-example.local
paths:
- path: /
pathType: ImplementationSpecific
tls: []
# - secretName: chart-example-tls
# hosts:
# - chart-example.local
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
autoscaling:
enabled: false
minReplicas: 1
maxReplicas: 100
targetCPUUtilizationPercentage: 80
# targetMemoryUtilizationPercentage: 80
nodeSelector: {}
tolerations: []
affinity: {}

+ 1
- 1
HelmCharts/firefly-chart/templates/mysql-deployment.yaml View File

@ -25,7 +25,7 @@ spec:
ports: ports:
- name: mysql - name: mysql
port: 3306 port: 3306
nodePort: 30181
nodePort: 30881
targetPort: mysql targetPort: mysql
selector: selector:
app: firefly-iii app: firefly-iii


+ 1
- 1
HelmCharts/firefly-chart/templates/php-deployment.yaml View File

@ -13,7 +13,7 @@ spec:
ports: ports:
- name: phpadmin - name: phpadmin
port: 80 port: 80
nodePort: 30180
nodePort: 30882
targetPort: phpmyadm targetPort: phpmyadm
--- ---
apiVersion: apps/v1 apiVersion: apps/v1


+ 23
- 0
HelmCharts/mattermost-chart/.helmignore View File

@ -0,0 +1,23 @@
# Patterns to ignore when building packages.
# This supports shell glob matching, relative path matching, and
# negation (prefixed with !). Only one pattern per line.
.DS_Store
# Common VCS dirs
.git/
.gitignore
.bzr/
.bzrignore
.hg/
.hgignore
.svn/
# Common backup files
*.swp
*.bak
*.tmp
*.orig
*~
# Various IDEs
.project
.idea/
*.tmproj
.vscode/

+ 24
- 0
HelmCharts/mattermost-chart/Chart.yaml View File

@ -0,0 +1,24 @@
apiVersion: v2
name: mattermost-chart
description: A Helm chart for Kubernetes
# A chart can be either an 'application' or a 'library' chart.
#
# Application charts are a collection of templates that can be packaged into versioned archives
# to be deployed.
#
# Library charts provide useful utilities or functions for the chart developer. They're included as
# a dependency of application charts to inject those utilities and functions into the rendering
# pipeline. Library charts do not define any templates and therefore cannot be deployed.
type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.1.0
# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
# follow Semantic Versioning. They should reflect the version the application is using.
# It is recommended to use it with quotes.
appVersion: "1.16.0"

Mattermost/mattermost-deployment.yaml → HelmCharts/mattermost-chart/templates/mattermost-deployment.yaml View File


Mattermost/mm-service.yaml → HelmCharts/mattermost-chart/templates/mm-service.yaml View File


Mattermost/mysql-deployment-mm.yaml → HelmCharts/mattermost-chart/templates/mysql-deployment-mm.yaml View File


Mattermost/pv-local-mattermost.yaml → HelmCharts/mattermost-chart/templates/pv-local-mattermost.yaml View File


Mattermost/pv-local-mysql-mm.yaml → HelmCharts/mattermost-chart/templates/pv-local-mysql-mm.yaml View File


Mattermost/secrets.yaml → HelmCharts/mattermost-chart/templates/secrets.yaml View File


+ 82
- 0
HelmCharts/mattermost-chart/values.yaml View File

@ -0,0 +1,82 @@
# Default values for mattermost-chart.
# This is a YAML-formatted file.
# Declare variables to be passed into your templates.
replicaCount: 1
image:
repository: nginx
pullPolicy: IfNotPresent
# Overrides the image tag whose default is the chart appVersion.
tag: ""
imagePullSecrets: []
nameOverride: ""
fullnameOverride: ""
serviceAccount:
# Specifies whether a service account should be created
create: true
# Annotations to add to the service account
annotations: {}
# The name of the service account to use.
# If not set and create is true, a name is generated using the fullname template
name: ""
podAnnotations: {}
podSecurityContext: {}
# fsGroup: 2000
securityContext: {}
# capabilities:
# drop:
# - ALL
# readOnlyRootFilesystem: true
# runAsNonRoot: true
# runAsUser: 1000
service:
type: ClusterIP
port: 80
ingress:
enabled: false
className: ""
annotations: {}
# kubernetes.io/ingress.class: nginx
# kubernetes.io/tls-acme: "true"
hosts:
- host: chart-example.local
paths:
- path: /
pathType: ImplementationSpecific
tls: []
# - secretName: chart-example-tls
# hosts:
# - chart-example.local
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
autoscaling:
enabled: false
minReplicas: 1
maxReplicas: 100
targetCPUUtilizationPercentage: 80
# targetMemoryUtilizationPercentage: 80
nodeSelector: {}
tolerations: []
affinity: {}

+ 1
- 1
HelmCharts/navidrome-chart/templates/navidrome-deployment.yaml View File

@ -8,7 +8,7 @@ spec:
ports: ports:
- name: http - name: http
port: 4533 port: 4533
nodePort: 30781
nodePort: 30681
targetPort: navidrome-http targetPort: navidrome-http
selector: selector:
app: navidrome app: navidrome


+ 1
- 1
HelmCharts/nextcloud-chart/templates/nextcloud-deployment.yaml View File

@ -11,7 +11,7 @@ spec:
type: NodePort type: NodePort
ports: ports:
- port: 80 - port: 80
nodePort: 30289
nodePort: 30580
targetPort: nextcloud targetPort: nextcloud
--- ---
apiVersion: apps/v1 apiVersion: apps/v1


+ 1
- 1
HelmCharts/nextcloud-chart/templates/php-deployment.yaml View File

@ -13,7 +13,7 @@ spec:
ports: ports:
- name: phpadmin - name: phpadmin
port: 80 port: 80
nodePort: 30480
nodePort: 30582
targetPort: phpmyadm targetPort: phpmyadm
--- ---
apiVersion: apps/v1 apiVersion: apps/v1


+ 1
- 1
HelmCharts/repostajes-chart/templates/mysql-deployment.yaml View File

@ -10,7 +10,7 @@ spec:
ports: ports:
- name: mysql - name: mysql
port: 3306 port: 3306
nodePort: 30385
nodePort: 30481
targetPort: mysql targetPort: mysql
selector: selector:
app: repostajes app: repostajes


+ 1
- 1
HelmCharts/repostajes-chart/templates/php-myadmin-deployment.yaml View File

@ -13,7 +13,7 @@ spec:
ports: ports:
- name: phpadmin - name: phpadmin
port: 80 port: 80
nodePort: 30386
nodePort: 30482
targetPort: phpmyadm targetPort: phpmyadm
--- ---
apiVersion: apps/v1 apiVersion: apps/v1


+ 1
- 1
HelmCharts/repostajes-chart/templates/repostajes-deployment.yaml View File

@ -9,7 +9,7 @@ spec:
type: NodePort type: NodePort
ports: ports:
- port: 80 - port: 80
nodePort: 30080
nodePort: 30480
targetPort: repostajes targetPort: repostajes
selector: selector:
app: repostajes app: repostajes


+ 1
- 1
HelmCharts/wordpress-chart/templates/mysql-deployment.yaml View File

@ -25,7 +25,7 @@ spec:
- ReadWriteOnce - ReadWriteOnce
resources: resources:
requests: requests:
storage: 20Gi
storage: 23Gi
--- ---
apiVersion: apps/v1 apiVersion: apps/v1
kind: Deployment kind: Deployment


+ 1
- 1
HelmCharts/wordpress-chart/templates/php-deployment.yaml View File

@ -13,7 +13,7 @@ spec:
ports: ports:
- name: phpadmin - name: phpadmin
port: 80 port: 80
nodePort: 30280
nodePort: 30182
targetPort: phpmyadm targetPort: phpmyadm
--- ---
apiVersion: apps/v1 apiVersion: apps/v1


+ 1
- 1
HelmCharts/wordpress-chart/templates/pv-local-mysql.yaml View File

@ -4,7 +4,7 @@ metadata:
name: wp-data name: wp-data
spec: spec:
capacity: capacity:
storage: 20Gi
storage: 23Gi
accessModes: accessModes:
- ReadWriteOnce - ReadWriteOnce
hostPath: hostPath:


+ 1
- 1
HelmCharts/wordpress-chart/templates/pv-local-wordpress.yaml View File

@ -4,7 +4,7 @@ metadata:
name: wp-folder name: wp-folder
spec: spec:
capacity: capacity:
storage: 10Gi
storage: 13Gi
accessModes: accessModes:
- ReadWriteOnce - ReadWriteOnce
hostPath: hostPath:


+ 1
- 1
HelmCharts/wordpress-chart/templates/wordpress-deployment.yaml View File

@ -28,7 +28,7 @@ spec:
storageClassName: "" storageClassName: ""
resources: resources:
requests: requests:
storage: 10Gi
storage: 13Gi
--- ---
apiVersion: apps/v1 apiVersion: apps/v1
kind: Deployment kind: Deployment


+ 0
- 1
Mattermost/README.md View File

@ -1 +0,0 @@
https://computingforgeeks.com/install-and-configure-mattermost-on-a-kubernetes-cluster/

+ 0
- 6
Mattermost/creaTodo.sh View File

@ -1,6 +0,0 @@
kubectl create -f pv-local-mattermost.yaml
kubectl create -f pv-local-mysql-mm.yaml
kubectl create -f secrets.yaml
kubectl create -f mm-service.yaml
kubectl create -f mysql-deployment-mm.yaml
kubectl create -f mattermost-deployment.yaml

+ 0
- 6
Mattermost/paraTodo.sh View File

@ -1,6 +0,0 @@
kubectl delete -f mattermost-deployment.yaml
kubectl delete -f mm-service.yaml
kubectl delete -f mysql-deployment-mm.yaml
kubectl delete -f pv-local-mattermost.yaml
kubectl delete -f pv-local-mysql-mm.yaml
kubectl delete -f secrets.yaml

+ 0
- 13
Mattermost/temp/mattermost-installation.yaml View File

@ -1,13 +0,0 @@
apiVersion: installation.mattermost.com/v1beta1
kind: Mattermost
metadata:
name: mattermost # Chose the desired name
spec:
size: 100users # Adjust to your requirements
ingress:
enabled: true
host: k8s-server # Adjust to your domain
annotations:
kubernetes.io/ingress.class: nginx
version: 6.0.1
licenseSecret: "" # If you have created secret in step 1, put its name here

+ 0
- 7036
Mattermost/temp/mattermost-operator.yaml
File diff suppressed because it is too large
View File


+ 0
- 71
Mattermost/temp/mysql-deployment-mm.yaml View File

@ -1,71 +0,0 @@
apiVersion: v1
kind: Service
metadata:
name: mattermost-mysql
namespace: mattermost
labels:
app: mattermost
spec:
ports:
- name: mysql
port: 3306
targetPort: mysql
selector:
app: mattermost
tier: mysql
---
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: mysql-mm-pv-claim
namespace: mattermost
labels:
app: mattermost
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 10Gi
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: mattermost-mysql
namespace: mattermost
labels:
app: mattermost
spec:
selector:
matchLabels:
app: mattermost
tier: mysql
strategy:
type: Recreate
template:
metadata:
labels:
app: mattermost
tier: mysql
spec:
containers:
- image: docker-registry:32000/mariadb:1.0
name: mysql
env:
- name: MYSQL_ROOT_PASSWORD
valueFrom:
secretKeyRef:
name: mysqlmm-pass
key: password
ports:
- containerPort: 3306
name: mysql
volumeMounts:
- name: mysql-persistent-storage
mountPath: /var/lib/mysql
imagePullSecrets:
- name: reg-cred-secret
volumes:
- name: mysql-persistent-storage
persistentVolumeClaim:
claimName: mysql-mm-pv-claim

+ 0
- 10
Mattermost/temp/mysqlmm-secret.yaml View File

@ -1,10 +0,0 @@
apiVersion: v1
kind: Secret
metadata:
name: mysqlmm-pass
namespace: mattermost
type: Opaque
data:
db_user: root
db_passwd: RHNhLTAyMTM=
password: RHNhLTAyMTM=

+ 0
- 11
Mattermost/temp/pv-local-mysql-mm.yaml View File

@ -1,11 +0,0 @@
apiVersion: v1
kind: PersistentVolume
metadata:
name: mm-data
spec:
capacity:
storage: 10Gi
accessModes:
- ReadWriteOnce
hostPath:
path: "/mnt/cluster/mattermost/mattermost-db"

Loading…
Cancel
Save