Skip to content

Commit 722eb1e

Browse files
committed
remove integration part related to redis tls encryption
Signed-off-by: Rizwana777 <rizwananaaz177@gmail.com>
1 parent cd65a6c commit 722eb1e

19 files changed

Lines changed: 20 additions & 1465 deletions

File tree

Makefile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,6 @@ endif
8686
ifneq (${ARGOCD_AGENT_IN_CLUSTER},)
8787
./hack/dev-env/restart-all.sh
8888
endif
89-
./hack/dev-env/setup-e2e-enable-redis-tls.sh
9089

9190
.PHONY: teardown-e2e
9291
teardown-e2e:

cmd/argocd-agent/agent.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -311,8 +311,8 @@ func NewAgentRunCommand() *cobra.Command {
311311

312312
// Redis TLS flags
313313
command.Flags().BoolVar(&redisTLSEnabled, "redis-tls-enabled",
314-
env.BoolWithDefault("ARGOCD_AGENT_REDIS_TLS_ENABLED", true),
315-
"Enable TLS for Redis connections (enabled by default for security)")
314+
env.BoolWithDefault("ARGOCD_AGENT_REDIS_TLS_ENABLED", false),
315+
"Enable TLS for Redis connections")
316316
command.Flags().StringVar(&redisTLSCAPath, "redis-tls-ca-path",
317317
env.StringWithDefault("ARGOCD_AGENT_REDIS_TLS_CA_PATH", nil, ""),
318318
"Path to CA certificate for Redis TLS (for local development)")

cmd/argocd-agent/principal.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -526,8 +526,8 @@ func NewPrincipalRunCommand() *cobra.Command {
526526
"Experimental: Use insecure connection to OpenTelemetry collector endpoint")
527527
// Redis TLS flags
528528
command.Flags().BoolVar(&redisTLSEnabled, "redis-tls-enabled",
529-
env.BoolWithDefault("ARGOCD_PRINCIPAL_REDIS_TLS_ENABLED", true),
530-
"Enable TLS for Redis connections (enabled by default for security)")
529+
env.BoolWithDefault("ARGOCD_PRINCIPAL_REDIS_TLS_ENABLED", false),
530+
"Enable TLS for Redis connections")
531531
command.Flags().StringVar(&redisProxyServerTLSCertPath, "redis-proxy-server-tls-cert",
532532
env.StringWithDefault("ARGOCD_PRINCIPAL_REDIS_PROXY_SERVER_TLS_CERT_PATH", nil, ""),
533533
"Path to TLS certificate for Redis proxy server")

cmd/ctl/main.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,6 @@ func NewRootCommand() *cobra.Command {
5252
command.AddCommand(NewCheckConfigCommand())
5353
command.AddCommand(NewPKICommand())
5454
command.AddCommand(NewJWTCommand())
55-
command.AddCommand(NewRedisCommand())
5655
command.AddCommand(NewVersionCommand())
5756
addGlobalFlags(command, globalOpts)
5857
return command

0 commit comments

Comments
 (0)