simple kubernetes deployment for containerized workloads
Find a file
Waylon S. Walker 573f8c082c bump version
2025-04-14 08:54:14 -05:00
helm-chart bump version 2025-04-14 08:54:14 -05:00
.gitignore init 2025-02-22 16:48:19 -06:00
readme.md init 2025-02-22 16:48:19 -06:00
values.yaml init 2025-02-22 16:48:19 -06:00

k8s-basic Helm Chart

Features

Prerequisites

  • Kubernetes Cluster: Ensure you have a running Kubernetes cluster.
  • Helm 3: Install Helm 3.
  • Argo CD (optional): If you prefer a GitOps approach, install Argo CD.

Configuration

The default configuration is defined in helm-chart/values.yaml. Here you can set:

Deploying with Argo CD

apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
  name: opengraph
  namespace: argocd  # Namespace where Argo CD is installed
spec:
  project: default
  source:
    repoURL: 'https://github.com/waylonwalker/k8s-basic.git'
    targetRevision: HEAD
    path: helm-chart
    helm:
      # valueFiles:
      #   - values.yaml
      # Optional: Override values with parameters
      values: |
        name: opengraph
        port: 8800
        image:
            repository: registry.wayl.one
            name: opengraph
        tag: "0.0.1"
        imagePullSecret: cluster-regcred
  destination:
    server: 'https://kubernetes.default.svc'
    namespace: opengraph  # Target namespace for deployment
  syncPolicy:
    automated:
      prune: true
      selfHeal: true