Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
66 changes: 66 additions & 0 deletions .github/configs/external-redis.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
apiVersion: v1
kind: Namespace
metadata:
labels:
app: external-redis
name: redis
---
apiVersion: apps/v1
kind: Deployment
metadata:
labels:
app: external-redis
name: redis
namespace: redis
spec:
replicas: 1
selector:
matchLabels:
app: external-redis
template:
metadata:
labels:
app: external-redis
spec:
containers:
- args:
- --save
- ""
- --appendonly
- "no"
- --requirepass argocd
image: ecr-public.aws.com/docker/library/redis:7.2.8-alpine
name: redis
ports:
- containerPort: 6379
name: redis
protocol: TCP
resources: {}
securityContext:
allowPrivilegeEscalation: false
capabilities:
drop:
- ALL
readOnlyRootFilesystem: true
securityContext:
runAsNonRoot: true
runAsUser: 999
seccompProfile:
type: RuntimeDefault
---
apiVersion: v1
kind: Service
metadata:
labels:
app: external-redis
name: redis
namespace: redis
spec:
ports:
- name: redis
port: 6379
protocol: TCP
targetPort: redis
selector:
app: external-redis
type: ClusterIP
4 changes: 1 addition & 3 deletions .github/workflows/lint-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,9 +92,7 @@ jobs:
- name: Create an external redis for ArgoCD externalRedis feature
if: contains(steps.list-changed.outputs.changed_charts, 'argo-cd')
run: |
kubectl create namespace redis
helm repo add bitnami https://charts.bitnami.com/bitnami
helm install redis bitnami/redis --wait --namespace redis --set auth.password=argocd --set architecture=standalone
kubectl apply -f ./.github/configs/external-redis.yaml

- name: Run chart-testing (install)
run: ct install --config ./.github/configs/ct-install.yaml
Expand Down
4 changes: 2 additions & 2 deletions charts/argo-cd/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ appVersion: v3.1.5
kubeVersion: ">=1.25.0-0"
description: A Helm chart for Argo CD, a declarative, GitOps continuous delivery tool for Kubernetes.
name: argo-cd
version: 8.5.0
version: 8.5.1
home: https://github.com/argoproj/argo-helm
icon: https://argo-cd.readthedocs.io/en/stable/assets/logo.png
sources:
Expand All @@ -27,4 +27,4 @@ annotations:
url: https://argoproj.github.io/argo-helm/pgp_keys.asc
artifacthub.io/changes: |
- kind: changed
description: Add size limit for emptyDir in statefulset of argocd-application-controller
description: Replace Bitnami dependency used to automatically test this chart
2 changes: 1 addition & 1 deletion charts/argo-cd/ci/external-redis-values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ redis-ha:
enabled: false

externalRedis:
host: "redis-master.redis.svc.cluster.local"
host: "external-redis.redis.svc.cluster.local"
password: "argocd"