-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: argocd applications on domain namespace (#149)
* added argocd configuration to install applications into different namespaces * updated argocd version * updated argocd configuration to support applications in different namespaces * argocd project added namespace permissions for domain namespace * argocd project added namespace permissions for domain namespace * pre-commit fixs * removed check yaml from pre-commit
- Loading branch information
1 parent
e5dd5f1
commit bff0417
Showing
8 changed files
with
76 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,35 +1,62 @@ | ||
dex: | ||
enabled: true | ||
|
||
server: | ||
replicas: 1 | ||
extraArgs: | ||
- --insecure | ||
config: | ||
repositories: | | ||
- type: helm | ||
name: argo-cd | ||
url: https://argoproj.github.io/argo-helm | ||
ingress: | ||
enabled: true | ||
labels: {} | ||
ingressClassName: "nginx" | ||
hostname: argocd.internal.devopslab.pagopa.it | ||
|
||
annotations: | ||
nginx.ingress.kubernetes.io/force-ssl-redirect: "true" | ||
nginx.ingress.kubernetes.io/backend-protocol: "HTTP" | ||
tls: false # Cambiato a false per evitare il TLS host doppio | ||
extraTls: | ||
- hosts: | ||
- argocd.internal.devopslab.pagopa.it | ||
# Based on the ingress controller used secret might be optional | ||
- argocd.internal.devopslab.pagopa.it | ||
secretName: argocd-internal-devopslab-pagopa-it | ||
https: true | ||
|
||
redis-ha: | ||
enabled: false | ||
|
||
repoServer: | ||
replicas: 1 | ||
|
||
applicationSet: | ||
replicas: 1 | ||
|
||
configs: | ||
params: | ||
application.namespaces: "${join(",", argocd_application_namespaces)}" | ||
|
||
cm: | ||
timeout.reconciliation: 30s | ||
timeout.reconciliation: 31s | ||
application.resourceTrackingMethod: annotation | ||
|
||
rbac: | ||
policy.csv: | | ||
p, role:readonly, applications, get, */*, allow | ||
p, role:readonly, projects, get, *, allow | ||
p, role:admin, applications, create, */*, allow | ||
p, role:admin, applications, update, */*, allow | ||
p, role:admin, applications, delete, */*, allow | ||
p, role:admin, applications, sync, */*, allow | ||
p, role:admin, applications, override, */*, allow | ||
p, role:admin, applications, action/*, */*, allow | ||
p, role:admin, projects, create, *, allow | ||
p, role:admin, projects, update, *, allow | ||
p, role:admin, projects, delete, *, allow | ||
controller: | ||
args: | ||
- --application-namespaces=${join(",", argocd_application_namespaces)} | ||
|
||
clusterRoleRules: | ||
enabled: true | ||
rules: | ||
- apiGroups: ["*"] | ||
resources: ["*"] | ||
verbs: ["*"] | ||
namespaces: "[${join(", ", argocd_application_namespaces)}]" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters