Skip to content

Commit 861d10e

Browse files
feat: add ABAC validation to the application existence query (#1127)
If a user does not have permission to view an application, it will appear as if the application does not exist. Without this update, a user can open the application page and see it in a broken state because nested queries return Forbidden errors.
1 parent 4800515 commit 861d10e

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

charts/gitops-runtime/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -511,14 +511,14 @@ global:
511511
| app-proxy.image-enrichment.serviceAccount.name | string | `"codefresh-image-enrichment-sa"` | Name of the service account to create or the name of the existing one to use |
512512
| app-proxy.image.pullPolicy | string | `"IfNotPresent"` | |
513513
| app-proxy.image.repository | string | `"quay.io/codefresh/cap-app-proxy"` | |
514-
| app-proxy.image.tag | string | `"1.4068.0"` | |
514+
| app-proxy.image.tag | string | `"1.4072.0"` | |
515515
| app-proxy.imagePullSecrets | list | `[]` | |
516516
| app-proxy.initContainer.command[0] | string | `"./init.sh"` | |
517517
| app-proxy.initContainer.env | object | `{}` | |
518518
| app-proxy.initContainer.extraVolumeMounts | list | `[]` | Extra volume mounts for init container |
519519
| app-proxy.initContainer.image.pullPolicy | string | `"IfNotPresent"` | |
520520
| app-proxy.initContainer.image.repository | string | `"quay.io/codefresh/cap-app-proxy-init"` | |
521-
| app-proxy.initContainer.image.tag | string | `"1.4068.0"` | |
521+
| app-proxy.initContainer.image.tag | string | `"1.4072.0"` | |
522522
| app-proxy.initContainer.resources.limits | object | `{}` | |
523523
| app-proxy.initContainer.resources.requests.cpu | string | `"0.2"` | |
524524
| app-proxy.initContainer.resources.requests.memory | string | `"256Mi"` | |
@@ -589,7 +589,7 @@ global:
589589
| argo-cd.redis-ha.image.tag | string | `"8.2.2-alpine"` | Redis tag |
590590
| argo-cd.redis.image.repository | string | `"ecr-public.aws.com/docker/library/redis"` | Redis repository |
591591
| argo-cd.redis.image.tag | string | `"8.2.2-alpine"` | Redis tag |
592-
| argo-gateway | object | `{"affinity":{},"hpa":{"enabled":true,"maxReplicas":10,"minReplicas":1,"targetCPUUtilizationPercentage":70},"image":{"registry":"quay.io","repository":"codefresh/cf-argocd-extras","tag":"bc37d62"},"livenessProbe":{"failureThreshold":3,"initialDelaySeconds":10,"periodSeconds":10,"successThreshold":1,"timeoutSeconds":10},"nodeSelector":{},"pdb":{"enabled":true,"maxUnavailable":"","minAvailable":"50%"},"readinessProbe":{"failureThreshold":3,"initialDelaySeconds":10,"periodSeconds":10,"successThreshold":1,"timeoutSeconds":10},"resources":{"requests":{"cpu":"100m","memory":"128Mi"}},"service":{"type":"ClusterIP"},"serviceAccount":{"create":true},"serviceMonitor":{"enabled":false,"interval":"30s","labels":{},"scrapeTimeout":"10s"},"tolerations":[]}` | Argo Gateway Argo Gateway is used to perform operations on ArgoCD from Codefresh platform |
592+
| argo-gateway | object | `{"affinity":{},"hpa":{"enabled":true,"maxReplicas":10,"minReplicas":1,"targetCPUUtilizationPercentage":70},"image":{"registry":"quay.io","repository":"codefresh/cf-argocd-extras","tag":"7b43e16"},"livenessProbe":{"failureThreshold":3,"initialDelaySeconds":10,"periodSeconds":10,"successThreshold":1,"timeoutSeconds":10},"nodeSelector":{},"pdb":{"enabled":true,"maxUnavailable":"","minAvailable":"50%"},"readinessProbe":{"failureThreshold":3,"initialDelaySeconds":10,"periodSeconds":10,"successThreshold":1,"timeoutSeconds":10},"resources":{"requests":{"cpu":"100m","memory":"128Mi"}},"service":{"type":"ClusterIP"},"serviceAccount":{"create":true},"serviceMonitor":{"enabled":false,"interval":"30s","labels":{},"scrapeTimeout":"10s"},"tolerations":[]}` | Argo Gateway Argo Gateway is used to perform operations on ArgoCD from Codefresh platform |
593593
| argo-workflows.crds.install | bool | `true` | Install and upgrade CRDs |
594594
| argo-workflows.enabled | bool | `true` | |
595595
| argo-workflows.executor.resources.requests.ephemeral-storage | string | `"10Mi"` | |
@@ -681,7 +681,7 @@ global:
681681
| global.codefresh.userToken | object | `{"secretKeyRef":{},"token":""}` | User token. Used for runtime registration against the patform. One of token (for plain text value) or secretKeyRef must be provided. |
682682
| global.codefresh.userToken.secretKeyRef | object | `{}` | User token that references an existing secret containing the token. |
683683
| global.codefresh.userToken.token | string | `""` | User token in plain text. The chart creates and manages the secret for this token. |
684-
| global.event-reporters | object | `{"affinity":{},"config":{},"image":{"registry":"quay.io","repository":"codefresh/cf-argocd-extras","tag":"b8c4451"},"livenessProbe":{"failureThreshold":3,"initialDelaySeconds":10,"periodSeconds":10,"successThreshold":1,"timeoutSeconds":10},"nodeSelector":{},"pdb":{"enabled":true,"maxUnavailable":"","minAvailable":"50%"},"readinessProbe":{"failureThreshold":3,"initialDelaySeconds":10,"periodSeconds":10,"successThreshold":1,"timeoutSeconds":10},"replicaCount":2,"resources":{"requests":{"cpu":"100m","memory":"128Mi"}},"service":{"ports":{"http":{"port":8088,"targetPort":8088},"metrics":{"port":8087,"targetPort":8087}},"type":"ClusterIP"},"serviceAccount":{"create":true},"serviceMonitor":{"enabled":false,"interval":"30s","labels":{},"scrapeTimeout":"10s"},"tolerations":[]}` | Global settings for event reporters Event reporters are used for reporting runtime and cluster resources to Codefresh platform |
684+
| global.event-reporters | object | `{"affinity":{},"config":{},"image":{"registry":"quay.io","repository":"codefresh/cf-argocd-extras","tag":"7b43e16"},"livenessProbe":{"failureThreshold":3,"initialDelaySeconds":10,"periodSeconds":10,"successThreshold":1,"timeoutSeconds":10},"nodeSelector":{},"pdb":{"enabled":true,"maxUnavailable":"","minAvailable":"50%"},"readinessProbe":{"failureThreshold":3,"initialDelaySeconds":10,"periodSeconds":10,"successThreshold":1,"timeoutSeconds":10},"replicaCount":2,"resources":{"requests":{"cpu":"100m","memory":"128Mi"}},"service":{"ports":{"http":{"port":8088,"targetPort":8088},"metrics":{"port":8087,"targetPort":8087}},"type":"ClusterIP"},"serviceAccount":{"create":true},"serviceMonitor":{"enabled":false,"interval":"30s","labels":{},"scrapeTimeout":"10s"},"tolerations":[]}` | Global settings for event reporters Event reporters are used for reporting runtime and cluster resources to Codefresh platform |
685685
| global.httpProxy | string | `""` | global HTTP_PROXY for all components |
686686
| global.httpsProxy | string | `""` | global HTTPS_PROXY for all components |
687687
| global.imageRegistry | string | `""` | |

charts/gitops-runtime/values.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -459,14 +459,14 @@ app-proxy:
459459
tag: 1.1.23-main
460460
image:
461461
repository: quay.io/codefresh/cap-app-proxy
462-
tag: 1.4068.0
462+
tag: 1.4072.0
463463
pullPolicy: IfNotPresent
464464
# -- Extra volume mounts for main container
465465
extraVolumeMounts: []
466466
initContainer:
467467
image:
468468
repository: quay.io/codefresh/cap-app-proxy-init
469-
tag: 1.4068.0
469+
tag: 1.4072.0
470470
pullPolicy: IfNotPresent
471471
command:
472472
- ./init.sh

0 commit comments

Comments
 (0)