Skip to main content
Version 3.0

Argo CD keeps
the cluster in sync with Git.

Five scenarios, from the first installation to corporate login: what the chart provides, which namespaces Argo CD manages, how much resource each part receives, how to publish the interface, and how to require login. Each one covers: the chart default, the values file commented line by line, and a step-by-step with verification.

ChartVersion3.0.3TypeapplicationAppVersion3.2.5
CompatibilityKubernetes1.32+OpenShift4.19+Rancher2.10.x+
Feature SupportLDAPsupportedIngresssupportedGateway APIsupported

The tdp-argo chart wraps the upstream argo-cd chart version 3.2.5. All values go under the chart key, and tdp-crds provides the CRDs. In TDP, Argo CD manages the lifecycle of the platform charts through the GitOps kit's App of Apps model. See Installation via Argo CD and Argo CD Update for details.

Your environment

If you fill in your environment details here, the examples and commands on this page use what you entered. The namespace, the release name, and the values file are your choices, not the chart's.

Before you begin

Argo CD does not replace Helm: it uses Helm to render charts and apply resources. The difference is that you don't run helm upgrade by hand. Argo CD does this by detecting changes in Git. The values files and Secrets remain the same.

Where the cluster runs

Your choice changes the commands and passages below.

It affects only three sections: the installation command in scenario 1 (OpenShift includes the Redis parameters and the warning about OpenShift GitOps), the name of the resource that publishes the interface in scenarios 4 and 5 (Ingress or Route) and the address verification in scenario 4.

The installation uses no extra parameters. With Ingress, the chart creates an Ingress with your hostname and controller class. Choosing port-forward or Gateway API does not change the configuration.

The installation includes Redis compatibility settings for the SCCs. See the OpenShift GitOps note in scenario 1. With Ingress, the OpenShift router publishes the chart Ingress as a Route. Check it with kubectl get route (scenario 4). Choosing port-forward or Gateway API does not change the configuration.

Scenarios​

CRDs, license, installation with defaults, initial password and access for your machine.

You want Argo CD running in the cluster before deciding how to expose it, size it, or configure login. This scenario installs the chart with its defaults, retrieves the initial admin password, and opens the interface from your machine. There are two installation paths: the GitOps kit, whose deploy.sh installs the CRDs, license, and Argo CD in the ARGOCD_NAMESPACE namespace and publishes the interface. And direct Helm, shown here. Both paths install the same components.

Argo CD runs in several parts, each with its own pods. The server serves the interface and the API. The repo server clones the repositories and renders the charts. The application controller compares Git with the cluster for each Application. Redis is the cache. Dex, disabled by default, handles login through the company directory.

Topology

One server and one Redis replica. Repo server and application controller replicas are set by repoServer.replicas and controller.replicas. Dex is disabled. Metrics and ServiceMonitor are enabled.

Names

Resources have the fixed prefix tdp-argocd (for example, the Service tdp-argocd-server), whatever the name of the internal release.

Access

Service (ClusterIP) on the HTTP and HTTPS ports defined in server.service.servicePortHttp and server.service.servicePortHttps, without Ingress. The server responds in HTTP (server.insecure: "true"). User admin with password generated on first start.

Applications

Recognized in any namespace (application.namespaces: "*"). No NetworkPolicy is created, so traffic is allowed.

By kit GitOps

deploy.sh installs Argo CD in the namespace specified by ARGOCD_NAMESPACE (in the kit examples, tdp-system) and exposes the interface according to TDP_EXPOSE. See Installation via Argo CD.

What starts in the namespace with the chart defaults

namespace <NAMESPACE>port-forwardWho operatesport-forwardServicetdp-argocd-server ? HTTP/HTTPSServerinterface and API - HTTPRepo server ×2clones Git, renders chartsApplication controller ×2compares Git and the clusterRediscacheApplicationsin any namespaceCRDstdp-crds
  1. Who operates. Without external exposure, each person opens a tunnel from their machine to the Service with kubectl port-forward. Chart default: no external exposure (port-forward).
  2. Argo CD server Service. Fixed name, independent of the release name: the chart sets fullnameOverride to tdp-argocd. ClusterIP with HTTP and HTTPS ports. Chart default: ClusterIP, tdp-argocd-server, ports HTTP and HTTPS (server.service.servicePortHttp and server.service.servicePortHttps). (tdp-argo.fullnameOverride ? tdp-argo.server.service)
  3. Argo CD server. Web interface and API. It responds over HTTP (`server.insecure`), which works behind an Ingress, Gateway, or proxy that terminates TLS. Set the public URL in `configs.cm.url`. Chart default: server.insecure: true - resources in server.resources. (tdp-argo.configs.params - tdp-argo.server.resources)
  4. Repo server. Clones repositories and renders Helm charts using values from Git. Replica count is set in repoServer.replicas; shallow cloning and fetch timeout are configured in the chart. Chart default: replicas in repoServer.replicas ? resources in repoServer.resources. (tdp-argo.repoServer)
  5. Application controller. Compares the desired state in Git with the cluster state, then applies the differences for each Application. Chart default: replicas in controller.replicas ? resources in controller.resources. (tdp-argo.controller)
  6. Redis. Argo CD internal cache. On OpenShift, the chart removes the upstream fixed UID and allows a dynamic fsGroup because of the SCC. Chart default: resources in redis.resources. (tdp-argo.redis ? tdp-argo.openshift.enabled)
  7. Where can Applications live. With the wildcard, Argo CD recognizes Applications created in any namespace in the cluster. That's what the GitOps kit uses. Chart default: application.namespaces: "*". (tdp-argo.configs.params.application.namespaces)
  8. Argo CD CRDs. Application, ApplicationSet, and AppProject are installed by tdp-crds in the tdp-system namespace. The chart does not install or remove them; it checks that they exist before installation or upgrade. Chart default: crds.install: false · crds.keep: true. (skipCrdCheck)
What starts in the namespace with the chart defaults. Click an element to see what it is and its default settings.

Install CRDs and check the license

The chart has two prerequisites: the Argo CD CRDs and a valid TDP license.

The Argo CD CRDs (Application, ApplicationSet, and AppProject) come from tdp-crds in the tdp-system namespace. The chart keeps tdp-argo.crds.install=false to avoid conflicting with Helm over their lifecycle. The TDP license comes from tdp-license (see Licensing Configuration).

Terminal input
helm upgrade --install tdp-crds \
oci://registry.tecnisys.com.br/tdp/charts/tdp-crds \
--version 3.0.3 \
--namespace tdp-system --create-namespace

kubectl get platformlicenses -A

Success criteria

The license appears in the list with STATE VALID, and kubectl get crd | grep argoproj shows all three types. If the license does not appear, or appears with another state, install or renew it before continuing.

Create the registry pull Secret

The chart uses the tdp-registry Secret, with your TDP registry credentials, in the release namespace.

Terminal input
kubectl create namespace <NAMESPACE>
kubectl -n <NAMESPACE> create secret docker-registry tdp-registry \
--docker-server=registry.tecnisys.com.br \
--docker-username=<REGISTRY_USERNAME> --docker-password=<REGISTRY_CLI_SECRET>

Replace the placeholders with your registry username and token. Use them only in the command. See Prerequisites for details.

Install with defaults

Without a values file, the chart starts exactly as in the figure above.

Terminal input
helm upgrade --install <RELEASE_NAME> \
oci://registry.tecnisys.com.br/tdp/charts/tdp-argo \
--version 3.0.3 \
-n <NAMESPACE> --create-namespace
Red Hat OpenShift GitOps

On OpenShift, tdp-argo is equivalent to Red Hat OpenShift GitOps, the Argo CD distribution installed through OperatorHub. Both install Argo CD and the same CRDs. If OpenShift GitOps is already installed in the cluster, the CRDs may conflict. Use only one of the two. To check:

Terminal input
oc get subscriptions.operators.coreos.com -A | grep -i gitops

OpenShift requires additional Redis settings for Security Context Constraints (SCC): OpenShift compatibility creates an SCC anyuid RoleBinding for Redis; setting runAsUser to null removes the fixed UID defined upstream, which SCC prohibits; setting fsGroup to null lets OpenShift inject a dynamic fsGroup.

Terminal input
helm upgrade --install <RELEASE_NAME> \
oci://registry.tecnisys.com.br/tdp/charts/tdp-argo \
--version 3.0.3 \
-n <NAMESPACE> --create-namespace \
--set tdp-argo.openshift.enabled=true \
--set tdp-argo.redis.securityContext.runAsUser=null \
--set tdp-argo.redis.securityContext.fsGroup=null

The same values can go in your values file:

tdp-argo:
openshift:
enabled: true
redis:
securityContext:
runAsUser: null
fsGroup: null

--version pins the chart version. Without it, Helm installs the most recent one published in the registry.

Success criteria

Terminal input
kubectl get pods -n <NAMESPACE>

All pods reach Running. The notes displayed at the end of helm upgrade --install show the access address and the command to obtain the initial password.

If the installation stops on a hook

The installation stops if the Argo CD CRDs are missing or the TDP license is invalid. The error message identifies the missing prerequisite. See Troubleshooting for both cases.

Get the initial admin password

Argo CD generates the password on first startup and stores it in a Secret.

Terminal input
kubectl -n <NAMESPACE> get secret argocd-initial-admin-secret \
-o jsonpath="{.data.password}" | base64 -d

Access from your machine

Without external exposure, kubectl opens a tunnel from your machine to the Service.

Terminal input
kubectl port-forward svc/tdp-argocd-server -n <NAMESPACE> 8080:443

Success criteria

The interface opens in localhost, in the local port of the command above, and accepts the user admin with the password from the previous step.

Change the password and delete the initial Secret

The generated password is not stored in clear text on the cluster.

After the first login, change the admin password in User Info → Update Password in the interface, or through the CLI, and delete the Secret:

Terminal input
argocd account update-password
kubectl -n <NAMESPACE> delete secret argocd-initial-admin-secret

Troubleshooting​

Troubleshooting

Paste the error message or choose a symptom. The answer includes the cause, what to do and the command.

  1. Installation fails in pre-installation hook due to missing CRDs. Cause: Before installing or upgrading, the chart checks whether the Argo CD CRDs provided by tdp-crds exist in the cluster. What to do: Install tdp-crds first. Use skipCrdCheck: true only to render the chart without cluster access, for example from Argo CD itself.
  2. Installation rejected: license check failed. Cause: The TDP license is missing or invalid in the cluster. What to do: Check the license with the command below. If its status is not VALID, install or renew it (Licensing Configuration) and repeat installation.
  3. Pods in ImagePullBackOff. Cause: The tdp-registry image pull Secret is missing from the release namespace. What to do: Create the Secret tdp-registry with your registry credentials (scenario 1).
  4. Redis does not start on OpenShift. Cause: The upstream chart sets a fixed UID for Redis, which is prohibited by OpenShift Security Context Constraints. What to do: Turn on OpenShift compatibility and override the UID and fsGroup of Redis (scenario 1, OpenShift).
  5. CRDs conflict with OpenShift GitOps. Cause: OpenShift GitOps and tdp-crds install the same Argo CD CRDs. What to do: Use only one of the two. Check whether OpenShift GitOps is installed before installing the chart.
  6. argocd-initial-admin-secret does not exist. Cause: Argo CD generates the Secret on first startup and deletes it after the admin password is changed, as recommended. What to do: Use the password set in scenario 1. If you lose it, start over with a new namespace.
  7. Login by SSO fails with Invalid redirect URL. Cause: configs.cm.url is different from the address opened in the browser: protocol, host or port. What to do: Set configs.cm.url exactly to the URL used in the browser (scenario 2). When exposing via Gateway API, use the port that the browser uses, not the listener.
  8. no such host for tdp-argocd-dex-server. Cause: Dex is disabled, so its Service does not exist. What to do: Set tdp-argo.dex.enabled: true. The complete login configuration is in Security - Argo CD.
  9. Other problem. Cause: Start with pod status and namespace events. What to do: Events in chronological order show what prevents the pod from starting.

Uninstall the release with helm uninstall <RELEASE_NAME> -n <NAMESPACE>. A post-delete Job removes resources labeled with the release. The CRDs remain with tdp-crds. Resources created at runtime, such as argocd-initial-admin-secret, do not carry the release label. See Uninstallation for details.

Chart hooks​

In addition to the upstream Argo CD features, the chart runs these hooks:

  • pre-install and pre-upgrade: checks that the Argo CD CRDs installed by tdp-crds exist. skipCrdCheck: true disables the check. Use it only to render the chart without cluster access, for example from Argo CD.
  • post-delete: runs the Cleanup Job described above.

All parameters​

Filter by name or group. The chart prefix is already filled in. Keys without a prefix belong at the root of the values file.

36 of 36 parameters

ParameterDescriptionChart default
skipCrdCheckGeneralSkips checking CRDs in the pre-installation hook. Only for rendering without access to the clusterfalse
tdp-argo.crds.installGeneralInstalls CRDs upstream. Becomes false because they come from tdp-crdsfalse
tdp-argo.crds.keepGeneralKeeps CRDs when uninstallingtrue
tdp-argo.fullnameOverrideGeneralFixed resource prefix, independent of the name of the releasetdp-argocd
tdp-argo.openshift.enabledGeneralCompatibility with OpenShift (RoleBinding from SCC anyuid to Redis)false
tdp-argo.global.domainGeneralArgo CD default domainargo.tdp.local
tdp-argo.global.networkPolicy.createGeneralCreates the upstream allow-all NetworkPoliciesfalse
tdp-argo.configs.params.server.insecureConfigurationServer on HTTP ("true") or HTTPS ("false")"true"
tdp-argo.configs.params.application.namespacesConfigurationNamespaces where Argo CD recognizes Applications"*"
tdp-argo.configs.cm.urlConfigurationArgo CD public URL. Same as browserhttps://argo.tdp.local
tdp-argo.configs.cm.dex.configConfigurationDex connectors (LDAP, Active Directory)""
tdp-argo.configs.secret.createSecretConfigurationHelm creates argocd-secret. Set to false when you create it manually for LDAPtrue
tdp-argo.configs.rbacConfigurationRBAC Policy (ConfigMap argocd-rbac-cm)not defined
tdp-argo.server.resourcesServerServer resources250m/512Mi requests; 1 CPU/2Gi limit
tdp-argo.server.metrics.enabledServerExposes server metricstrue
tdp-argo.server.metrics.serviceMonitor.enabledServerCreates ServiceMonitor for the servertrue
tdp-argo.server.service.typeServerType of Service tdp-argocd-serverClusterIP
tdp-argo.server.service.servicePortHttpServerHTTP port of Service80
tdp-argo.server.service.servicePortHttpsServerHTTPS port of Service443
tdp-argo.server.ingress.enabledServerIngress from upstream. Becomes false, chart renders yourfalse
tdp-argo.server.ingress.ingressClassNameServerIngress classnginx
tdp-argo.server.ingress.hostnameServerIngress hostnameargo.tdp.local
tdp-argo.repoServer.replicasRepo serverReplicas of repo server2
tdp-argo.repoServer.resourcesRepo serverRepo server resources250m/256Mi requests; 1 CPU/2Gi limit
tdp-argo.repoServer.envRepo serverrepo server variables: fetch timeout and clone depthARGOCD_GIT_FETCH_TIMEOUT=300s, ARGOCD_GIT_CLONE_DEPTH=1
tdp-argo.controller.replicasControllerApplication controller replicas2
tdp-argo.controller.resourcesControllerApplication controller resources500m/1Gi requests; 2 CPU/4Gi limit
tdp-argo.redis.resourcesRedis and DexRedis resources50m/64Mi requests; 250m/512Mi limit
tdp-argo.redis.securityContext.runAsUserRedis and DexRedis UID. Override in upstream OpenShiftUID
tdp-argo.dex.enabledRedis and DexTurn on Dex (login via LDAP or Active Directory)false
tdp-argo.dex.resourcesRedis and DexDex resources50m/64Mi requests; 250m/256Mi limit
TDP-Settings.gateway.ingress.enabledExposureRenders the TDP Ingressfalse
TDP-Settings.gateway.gatewayApi.enabledExposureRenders Gateway and HTTPRoutefalse
gatewayApi.gatewayClassNameExposureGateway class used by the chart""
gatewayApi.parentRefsExposureGateways that the HTTPRoute attaches to[]
gatewayApi.server.hostnamesExposureHostnames of the server's HTTPRouteargo.tdp.local

For the complete parameter list, consult the chart's values.yaml or run helm show values for the installed version.

Next steps​