Compare commits

..

62 Commits

Author SHA1 Message Date
047c1c8758 Dev-newchart
All checks were successful
Upload Helm Chart / Explore-Gitea-Actions (push) Successful in 2s
2024-02-26 15:50:44 +00:00
9d56d1d0b9 Fixed cert
All checks were successful
Upload Helm Chart / Explore-Gitea-Actions (push) Successful in 6s
2024-02-23 19:26:34 +01:00
b036ce7710 Fixed
All checks were successful
Upload Helm Chart / Explore-Gitea-Actions (push) Successful in 7s
2024-02-23 19:19:59 +01:00
d478cb6ec3 Update .gitea/workflows/upload-helm.yml
All checks were successful
Upload Helm Chart / Explore-Gitea-Actions (push) Successful in 2s
2024-02-23 18:17:57 +00:00
3cdaaf07a4 Update Chart/templates/deployment.yaml
All checks were successful
Upload Helm Chart / Explore-Gitea-Actions (push) Successful in 3s
2024-02-23 18:17:45 +00:00
847eca2458 Update .gitea/workflows/upload-helm.yml
All checks were successful
Upload Helm Chart / Explore-Gitea-Actions (push) Successful in 6s
2024-02-22 19:35:40 +00:00
a2a9d05ee0 Update Chart/templates/job.yaml
All checks were successful
Upload Helm Chart / Explore-Gitea-Actions (push) Successful in 2s
2024-02-22 19:35:03 +00:00
0c2fbf3a79 Update .gitea/workflows/upload-helm.yml
All checks were successful
Upload Helm Chart / Explore-Gitea-Actions (push) Successful in 9s
2024-02-22 19:33:26 +00:00
90e6fced80 Update Chart/templates/deployment.yaml
All checks were successful
Upload Helm Chart / Explore-Gitea-Actions (push) Successful in 2s
2024-02-22 19:32:00 +00:00
c60bcd8c9f Update .gitea/workflows/upload-helm.yml
All checks were successful
Upload Helm Chart / Explore-Gitea-Actions (push) Successful in 2s
2024-02-22 15:15:35 +00:00
6a66bc9829 Update Chart/templates/deployment.yaml
All checks were successful
Upload Helm Chart / Explore-Gitea-Actions (push) Successful in 3s
2024-02-22 15:15:18 +00:00
b8aef496f4 Fixed
All checks were successful
Upload Helm Chart / Explore-Gitea-Actions (push) Successful in 2s
2024-01-24 22:16:02 +00:00
c3c8b8eebe Updated CI
All checks were successful
Upload Helm Chart / Explore-Gitea-Actions (push) Successful in 13s
2024-01-24 22:12:50 +00:00
b6cd28d1e9 Fix pipeline
All checks were successful
Upload Helm Chart / Explore-Gitea-Actions (push) Successful in 2s
2024-01-24 22:09:39 +00:00
8389dbcee7 Update .gitea/workflows/upload-helm.yml
All checks were successful
Upload Helm Chart / Explore-Gitea-Actions (push) Successful in 4s
2024-01-24 22:02:12 +00:00
7540309c71 Update .gitea/workflows/upload-helm.yml
All checks were successful
Upload Helm Chart / Explore-Gitea-Actions (push) Successful in 3s
2024-01-24 22:00:20 +00:00
4d44f56679 Updated 2024-01-06 11:03:31 +01:00
721dc409ad Update .gitlab-ci.yml 2023-10-30 23:47:38 +01:00
0ada9155eb Parameterize webp conversion 2023-10-30 23:44:39 +01:00
5129be3fc8 Swap imagepullpolicy to always 2023-10-05 18:27:07 +02:00
f70afe5523 Restore webp conversion for init running as job 2023-09-23 18:26:16 +00:00
d6292ca4b0 Fixed labels 2023-09-23 13:41:10 +00:00
c514a76b5e Added restart policy to job 2023-09-23 13:28:50 +00:00
6287a199b8 Added topology key 2023-09-23 13:26:34 +00:00
d884c6cb2b Fixed selector 2023-09-23 13:25:04 +00:00
b7e034847e Fixed topology selector 2023-09-23 13:23:44 +00:00
cbb973550c Added option to run init as a job instead of initContainers 2023-09-23 12:49:56 +00:00
Lars
041946b804 Add customization for proc values 2023-09-13 14:05:07 +02:00
Lars
9793780639 Fix ing, deployment 2023-09-13 13:43:29 +02:00
Lars
a5d7592dc7 IfNotExists => IfNotPResent 2023-09-13 10:56:52 +02:00
Lars
e6b0bb2db2 Updated pull policy for main container since init container pulls image 2023-09-13 10:54:07 +02:00
Lars
e3d4952df6 fixed pointer to addt env 2023-09-13 10:41:57 +02:00
Lars
7bc8d7f084 Update secret type for docker 2023-09-13 10:33:11 +02:00
Lars
06b0355568 Fixed storage provisioner annot 2023-09-13 10:19:53 +02:00
Lars
5f6e0e9e35 Added missing separator to pvc yaml 2023-09-13 10:16:39 +02:00
Lars
8748fa515b Correction to PVC 2023-09-13 10:10:44 +02:00
Lars
fbbeb2e407 Fixed inconsistent pvc names 2023-09-13 10:09:51 +02:00
Lars
d84ebe5751 Added unit json file to mounts 2023-09-13 10:04:13 +02:00
Lars
a062df8654 Fixed issuerRef/kind for cert
Fixed default for additional domains
2023-09-13 09:59:23 +02:00
Lars
900cfed378 Moved data for externalsecret to correct indentation 2023-09-13 09:50:00 +02:00
Lars
cb2b3a2c3a Fixed cert choices 2023-09-12 16:17:14 +02:00
Lars
0c992a6d46 Release version 1.0.0 2023-09-12 15:45:08 +02:00
2604afabb5 Added /var/cloud as default mount 2023-09-08 09:34:28 +02:00
10c0b70359 Deactivated WPCReg Job 2023-09-05 17:27:11 +02:00
9abb6ce3cb Remove autoregister by default 2023-07-19 09:17:49 +02:00
ea197d2006 Fixed port, added starttls 2023-07-19 00:29:37 +02:00
c735392ee5 Updated email port for amazon SES 2023-07-18 23:51:56 +02:00
63f651d622 Add processes to unit 2023-07-18 23:39:38 +02:00
81a2fb2c7f Moved 302 section before wildcard section 2023-07-18 23:29:52 +02:00
8d8630b0c5 Added redirect for login page 2023-07-18 23:27:15 +02:00
a7c67e138c Fixed wrong name for field 2023-07-17 23:45:03 +02:00
8cda255fae Added choice for SMTP server 2023-07-17 23:33:32 +02:00
fa6f0ff85a Changed to command + args 2023-07-10 18:56:09 +02:00
c23ff885f2 == to eq 2023-07-10 18:48:17 +02:00
d252b09a5d Added conditional for init container command 2023-07-10 18:46:33 +02:00
04b1992002 Bugfix 2023-06-29 22:28:15 +02:00
57f012a639 Fixed bug 2023-06-29 22:24:42 +02:00
d952476420 Dynamic provisioning for PVC 2023-06-29 22:23:33 +02:00
3fd277dd88 Updated persistent volume 2023-06-29 22:17:44 +02:00
1f86724ba5 Bump version 2023-06-29 22:09:40 +02:00
47168eb6dc Fixed include 2023-06-29 22:07:54 +02:00
87384c8b63 Added local disk 2023-06-29 22:04:37 +02:00
6 changed files with 39 additions and 27 deletions

View File

@@ -4,9 +4,9 @@ on: [push]
jobs: jobs:
Explore-Gitea-Actions: Explore-Gitea-Actions:
runs-on: shell runs-on: ubuntu-latest
env: env:
HELM_CHART_VERSION: "1.0.24" HELM_CHART_VERSION: "1.0.34"
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- name: Set up Helm - name: Set up Helm
@@ -15,10 +15,9 @@ jobs:
version: 'v3.0.0' version: 'v3.0.0'
- run: 'sed -i "s/version:.*/version: \"${HELM_CHART_VERSION}\"/" ./Chart/Chart.yaml' - run: 'sed -i "s/version:.*/version: \"${HELM_CHART_VERSION}\"/" ./Chart/Chart.yaml'
- run: helm package ./Chart - run: helm package ./Chart
- run: echo ${{ secrets.GITEA_TOKEN }} > /tmp/gitea-token
- name: Upload Helm Chart - name: Upload Helm Chart
run: | run: |
curl --request POST \ curl -ki -X POST \
--user ${{ secrets.HELM_PKG_UPLOAD_USER }}:${{ secrets.HELM_PKG_UPLOAD_PASS }} \ --user ${{ secrets.HELM_PKG_UPLOAD_USER }}:${{ secrets.HELM_PKG_UPLOAD_PASS }} \
--form "chart=@wordyne-${HELM_CHART_VERSION}.tgz" \ --upload-file "wordyne-${HELM_CHART_VERSION}.tgz" \
https://git.cloudyne.io/api/packages/helm/helm/api/charts https://helm.cloudyne.io/api/charts

4
.gitignore vendored
View File

@@ -1,2 +1,4 @@
example.yaml example.yaml
example*.yaml example*.yaml
example*.yml
test-*.yaml

View File

@@ -1,5 +1,5 @@
variables: variables:
HELM_CHART_VERSION: "0.6.13" HELM_CHART_VERSION: "1.0.24"
stages: stages:
- deploy - deploy
@@ -9,9 +9,7 @@ default:
name: cloudyne/kubectl-helm:latest name: cloudyne/kubectl-helm:latest
entrypoint: [""] entrypoint: [""]
tags: tags:
- build01 - shell
- helm
- chartbuild
deploy: deploy:
stage: deploy stage: deploy

View File

@@ -2,5 +2,5 @@ apiVersion: v2
name: wordyne name: wordyne
description: Helm chart for deploying pre-built website containers to kubernetes clusters description: Helm chart for deploying pre-built website containers to kubernetes clusters
type: application type: application
version: "1.0.24" version: "1.0.27"
appVersion: "6.2.2" appVersion: "6.2.2"

View File

@@ -99,16 +99,16 @@ spec:
- name: serverconfig - name: serverconfig
mountPath: /init-go/config.json mountPath: /init-go/config.json
subPath: init.json subPath: init.json
{{- if .Values.storage.cloud.active }}
- name: cloud
mountPath: "/mnt/cloud"
{{- end }}
{{- if .Values.storage.local.active }} {{- if .Values.storage.local.active }}
{{- range .Values.storage.folders }} {{- range .Values.storage.folders }}
- name: local - name: local
mountPath: "/app/web/app/{{ . }}" mountPath: "/app/web/app/{{ . }}"
subPath: "{{ . }}" subPath: "{{ . }}"
{{- end }} {{- end }}
{{- if .Values.storage.cloud.active }}
- name: cloud
mountPath: "/mnt/cloud"
{{- end }}
{{- else }} {{- else }}
{{- if .Values.storage.cloud.active }} {{- if .Values.storage.cloud.active }}
{{- range .Values.storage.folders }} {{- range .Values.storage.folders }}
@@ -145,22 +145,34 @@ spec:
- name: serverconfig - name: serverconfig
mountPath: /docker-entrypoint.d/unit.json mountPath: /docker-entrypoint.d/unit.json
subPath: unit.json subPath: unit.json
{{- if .Values.storage.local.active }}
{{- range .Values.storage.folders }}
- name: local
mountPath: "/app/web/app/{{ . }}"
subPath: "{{ . }}"
{{- end }}
{{- if .Values.storage.cloud.active }} {{- if .Values.storage.cloud.active }}
- name: cloud - name: cloud
mountPath: "/mnt/cloud" mountPath: "/mnt/cloud"
{{- end }} {{- end }}
{{- if .Values.storage.local.active }}
{{- range .Values.storage.folders }}
{{- if or ( eq . "certificates" ) ( eq . "secrets" ) }}
- name: local
mountPath: "/app/{{ . }}"
subPath: "{{ . }}"
{{- else }}
- name: local
mountPath: "/app/web/app/{{ . }}"
subPath: "{{ . }}"
{{- end }}
{{- end }}
{{- else }} {{- else }}
{{- if .Values.storage.cloud.active }} {{- if .Values.storage.cloud.active }}
{{- range .Values.storage.folders }} {{- range .Values.storage.folders }}
{{- if or ( eq . "certificates" ) ( eq . "secrets" ) }}
- name: cloud
mountPath: "/app/{{ . }}"
subPath: "{{ . }}"
{{- else }}
- name: cloud - name: cloud
mountPath: "/app/web/app/{{ . }}" mountPath: "/app/web/app/{{ . }}"
subPath: "{{ . }}" subPath: "{{ . }}"
{{- end }}
{{- end }} {{- end }}
{{- end }} {{- end }}
{{- end }} {{- end }}
@@ -181,4 +193,4 @@ spec:
ports: ports:
- containerPort: 8080 - containerPort: 8080
name: http name: http
protocol: TCP protocol: TCP

View File

@@ -1,3 +1,4 @@
#dev-newchart
{{- if .Values.init.asJob }} {{- if .Values.init.asJob }}
apiVersion: batch/v1 apiVersion: batch/v1
kind: Job kind: Job
@@ -93,16 +94,16 @@ spec:
- name: serverconfig - name: serverconfig
mountPath: /init-go/config.json mountPath: /init-go/config.json
subPath: init.json subPath: init.json
{{- if .Values.storage.cloud.active }}
- name: cloud
mountPath: "/mnt/cloud"
{{- end }}
{{- if .Values.storage.local.active }} {{- if .Values.storage.local.active }}
{{- range .Values.storage.folders }} {{- range .Values.storage.folders }}
- name: local - name: local
mountPath: "/app/web/app/{{ . }}" mountPath: "/app/web/app/{{ . }}"
subPath: "{{ . }}" subPath: "{{ . }}"
{{- end }} {{- end }}
{{- if .Values.storage.cloud.active }}
- name: cloud
mountPath: "/mnt/cloud"
{{- end }}
{{- else }} {{- else }}
{{- if .Values.storage.cloud.active }} {{- if .Values.storage.cloud.active }}
{{- range .Values.storage.folders }} {{- range .Values.storage.folders }}