Skip to content

Releases: gimlet-io/onechart

Release v0.51.0

11 Aug 08:59
Compare
Choose a tag to compare
Preparing for static-site release

Release v0.50.0

12 Jul 13:20
aae4510
Compare
Choose a tag to compare
Add ignoreLimits flag to container resources (#74)

Release v0.49.0

09 Jun 07:00
00bc7eb
Compare
Choose a tag to compare

#73 Add Cronjob's Schedule to the Gimlet Dashboard

Release v0.48.0

05 Jun 11:59
97cb758
Compare
Choose a tag to compare

#72 Added secret's subPath feature to onechart

Release v0.47.0

10 Apr 04:27
4a217ce
Compare
Choose a tag to compare

#66 Added ServiceMonitor

Release v0.46.0

30 Mar 12:04
Compare
Choose a tag to compare

Ability to build and deploy a static site with #64

Release v0.45.0

30 Mar 11:57
00becd0
Compare
Choose a tag to compare
added a new chart static-site that build and host static sites. (#64)

Co-authored-by: Youcef Guichi <[email protected]>

Release v0.44.0

24 Mar 10:18
118cd8e
Compare
Choose a tag to compare

#63 Init-container support

Using init-containers to build and run static websites

The example bellow uses Hugo.

  • Uses an init container to setup Hugo, clone the source from git and build the site
  • The built site is then copied to a shared volume
  • Nginx serves the built site from the volume
helm repo add onechart https://chart.onechart.dev

cat << EOF > hugo.yaml
volumes:
- name: init-hugo
  fileName: setup_hugo.sh
  path: /hugo.conf
  subPath: setup_hugo.sh
  fileContent: |
    #!/usr/bin/env bash
    # Pre-reqs
    apt update && apt install -y wget git

    # Setting up Hugo 
    wget https://github.com/gohugoio/hugo/releases/download/v0.111.3/hugo_0.111.3_Linux-64bit.tar.gz &&
    tar -xzf hugo_0.111.3_Linux-64bit.tar.gz &&
    chmod +x hugo &&
    mv hugo /usr/local/bin && cd / &&
    
    # Getting and building Hugo site source
    git clone https://github.com/gimlet-io/hugo-site.git &&
    cd hugo-site && hugo &&
    
    # Copying the built Hugo site to the shared volume for serving with Nginx
    mkdir -p /usr/share/nginx/html && cp -r ./public/. /usr/share/nginx/html
- name: shared-static-files
  emptyDir: true
  path: /usr/share/nginx/html 
initContainers:
- name: setup
  image: debian
  tag: stable-slim
  command: |
    cp /hugo.conf/setup_hugo.sh . &&
    chmod +x setup_hugo.sh && 
    ./setup_hugo.sh
image:
  repository: nginx
  tag: 1.23.3
EOF

helm template my-hugo-site onechart/onechart -f hugo.yaml > manifest.yaml
kubectl apply -f manifest.yaml

kubectl port-forward svc/my-hugo-site 8000:80

Release v0.43.0

16 Mar 12:43
5660435
Compare
Choose a tag to compare

#60 Updated deprecated Api version for cronjob and PodDisruptionBudget
#61 Added support for configMap as volume

Release v0.42.0

17 Feb 14:19
Compare
Choose a tag to compare