This is the Experimental version (Latest). It is under active development and may change. For the most reliable documentation, use the version selector in the top-right to switch to Stable, or click here to go to the Stable version's homepage.
Reloader Installation
Last updated:
Reloader is a Secret Re-injection into Pods Utility
Reloader can have multiple instances dedicated to each of Workload Type Kubernetes Cluster.
Pre-Installation
Section titled “Pre-Installation”Reloader Preparation
Section titled “Reloader Preparation”-
Create Helm Value Configurations
Terminal window cat <<EOF > $BASE_WORKING_DIR/helm-values/reloader-full-values.yamlreloader:deployment:# Kubernetes Security ContextsecurityContext:runAsNonRoot: truerunAsUser: 65534seccompProfile:type: RuntimeDefaultcontainerSecurityContext:allowPrivilegeEscalation: falseseccompProfile:type: RuntimeDefaultcapabilities:drop: ["ALL"]EOF
Complete Prerequisites
Section titled “Complete Prerequisites”Kubernetes Cluster
Section titled “Kubernetes Cluster”-
Export Required Shell Variables
Section titled “Export Required Shell Variables”Before connect please load variables based on cluster.
Terminal window source $BASE_WORKING_DIR/shell-values/kubernetes/CHANGEME_cluster.vars.sh
Installation
Section titled “Installation”-
Add Reloader Helm Repository.
Terminal window # Add Helm Repositoryhelm repo add stakater https://stakater.github.io/stakater-chartshelm repo update -
Install Reloader on Kubernetes Cluster.
-
Install a Helm Release with specific Helm Chart Version
--version 2.1.3(App Version: v1.4.2)Terminal window # Install Reloader Helm Releasehelm upgrade --install reloader stakater/reloader --version 2.1.3 \--namespace devsecops-system \-f $BASE_WORKING_DIR/helm-values/reloader-full-values.yaml
-
Post-Installation
Section titled “Post-Installation”Reloader Testing
Section titled “Reloader Testing”-
Connect to Kubernetes Cluster ; i.e w/ Kubeconfig File
Terminal window source $BASE_WORKING_DIR/shell-values/kubernetes/CHANGEME_cluster.vars.sh -
Get Pod Status - Reloader
Terminal window kubectl get pods -n devsecops-systemReloader should be `Running
NAME READY STATUS RESTARTS AGE... (deducted)reloader-reloader-XXXXXXX-YYYY 1/1 Running 0 XdXh
Finished?
Use the below navigation to proceed