refactor: remove component label as these secret are not argocd component

chore: adds new parameters in README for docs
remove: removes duplicated parameter
Signed-off-by: Emanuel Oliveira <emanuelolive@grupoboticario.com.br>

Signed-off-by: Emanuel Oliveira <emanuelolive@grupoboticario.com.br>
This commit is contained in:
Emanuel Oliveira 2021-08-23 13:11:55 -03:00
parent 90942369c4
commit 49e4d0af2a
4 changed files with 7 additions and 4 deletions

View file

@ -165,6 +165,9 @@ NAME: my-release
| configs.secret.createSecret | Create the argocd-secret. | `true` | | configs.secret.createSecret | Create the argocd-secret. | `true` |
| configs.secret.githubSecret | GitHub incoming webhook secret | `""` | | configs.secret.githubSecret | GitHub incoming webhook secret | `""` |
| configs.secret.gitlabSecret | GitLab incoming webhook secret | `""` | | configs.secret.gitlabSecret | GitLab incoming webhook secret | `""` |
| configs.repositoryCredentials | DEPRECATED: Instead, use configs.credentialTemplates and/or configs.repositories. | `{}` |
| configs.credentialTemplates | Repository credentials to be used as Templates for other repos. | `{}` |
| configs.repositories | Repositories list to be used by applications. | `{}` |
| configs.tlsCertsAnnotations | TLS certificate configmap annotations | `{}` | | configs.tlsCertsAnnotations | TLS certificate configmap annotations | `{}` |
| configs.tlsCerts.data."argocd.example.com" | TLS certificate | See [values.yaml](values.yaml) | | configs.tlsCerts.data."argocd.example.com" | TLS certificate | See [values.yaml](values.yaml) |
| configs.secret.extra | add additional secrets to be added to argocd-secret | `{}` | | configs.secret.extra | add additional secrets to be added to argocd-secret | `{}` |
@ -295,6 +298,7 @@ NAME: my-release
| server.clusterAdminAccess.enabled | Enable RBAC for local cluster deployments. | `true` | | server.clusterAdminAccess.enabled | Enable RBAC for local cluster deployments. | `true` |
| server.configAnnotations | ArgoCD configuration configmap annotations | `{}` | | server.configAnnotations | ArgoCD configuration configmap annotations | `{}` |
| server.config | [General Argo CD configuration](https://argoproj.github.io/argo-cd/operator-manual/declarative-setup/#repositories) | See [values.yaml](values.yaml) | | server.config | [General Argo CD configuration](https://argoproj.github.io/argo-cd/operator-manual/declarative-setup/#repositories) | See [values.yaml](values.yaml) |
| server.config.repositories | [DEPRECATED: Instead, use configs.credentialTemplates and/or configs.repositories.](https://argo-cd.readthedocs.io/en/latest/operator-manual/declarative-setup/#legacy-behaviour) | See [values.yaml](values.yaml) |
| server.containerPort | Server container port. | `8080` | | server.containerPort | Server container port. | `8080` |
| server.extraArgs | Additional arguments for the server. A list of flags. | `[]` | | server.extraArgs | Additional arguments for the server. A list of flags. | `[]` |
| server.staticAssets.enabled | Disable deprecated flag --staticassets | `false` | | server.staticAssets.enabled | Disable deprecated flag --staticassets | `false` |

View file

@ -6,7 +6,7 @@ metadata:
name: argocd-repo-creds-{{ $repo_cred_key }} name: argocd-repo-creds-{{ $repo_cred_key }}
labels: labels:
argocd.argoproj.io/secret-type: repo-creds argocd.argoproj.io/secret-type: repo-creds
{{- include "argo-cd.labels" (dict "context" $ "component" $.Values.server.name "name" "secret") | nindent 4 }} {{- include "argo-cd.labels" (dict "context" .) | nindent 4 }}
data: data:
{{- range $key, $value := $repo_cred_value }} {{- range $key, $value := $repo_cred_value }}
{{ $key }}: {{ $value | toString | b64enc }} {{ $key }}: {{ $value | toString | b64enc }}

View file

@ -6,7 +6,7 @@ metadata:
name: argocd-repo-{{ $repo_key }} name: argocd-repo-{{ $repo_key }}
labels: labels:
argocd.argoproj.io/secret-type: repository argocd.argoproj.io/secret-type: repository
{{- include "argo-cd.labels" (dict "context" . "component" .Values.server.name "name" "secret") | nindent 4 }} {{- include "argo-cd.labels" (dict "context" .) | nindent 4 }}
data: data:
{{- range $key, $value := $repo_value }} {{- range $key, $value := $repo_value }}
{{ $key }}: {{ $value | b64enc }} {{ $key }}: {{ $value | b64enc }}

View file

@ -99,7 +99,6 @@ controller:
# - all # - all
# readOnlyRootFilesystem: true # readOnlyRootFilesystem: true
# runAsNonRoot: true # runAsNonRoot: true
# readOnlyRootFilesystem: true
## Configures the controller port ## Configures the controller port
containerPort: 8082 containerPort: 8082