forked from argoproj/argo-cd
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enable fine-grained update/delete RBAC enforcement by default
Change applications resource RBAC to use fine-grained update/delete enforcement by default. This allows us to enforce RBAC on the application itself, separately from the sub-resources related to it. See also GitHub argoproj#18124, argoproj#20600
- Loading branch information
Showing
36 changed files
with
418 additions
and
18 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
4 changes: 4 additions & 0 deletions
4
...ository/testdata/app-parameters2492753174/app-parameters/multi/.argocd-source-broken.yaml
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 |
---|---|---|
@@ -0,0 +1,4 @@ | ||
aloi | ||
kustomize: | ||
images: | ||
- gcr.io/heptio-images/ks-guestbook-demo:0.2 |
3 changes: 3 additions & 0 deletions
3
...sitory/testdata/app-parameters2492753174/app-parameters/multi/.argocd-source-testapp.yaml
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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
kustomize: | ||
images: | ||
- gcr.io/heptio-images/ks-guestbook-demo:0.3 |
6 changes: 6 additions & 0 deletions
6
...ry/testdata/app-parameters2492753174/app-parameters/multi/.argocd-source-unmergeable.yaml
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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
repo: https://somewhere | ||
kustomize: | ||
images: | ||
- gcr.io/heptio-images/ks-guestbook-demo:0.3 | ||
invalid: | ||
- I don't know |
3 changes: 3 additions & 0 deletions
3
...ver/repository/testdata/app-parameters2492753174/app-parameters/multi/.argocd-source.yaml
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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
kustomize: | ||
images: | ||
- gcr.io/heptio-images/ks-guestbook-demo:0.2 |
18 changes: 18 additions & 0 deletions
18
reposerver/repository/testdata/app-parameters2492753174/app-parameters/multi/guestbook.yaml
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 |
---|---|---|
@@ -0,0 +1,18 @@ | ||
apiVersion: apps/v1 | ||
kind: Deployment | ||
metadata: | ||
name: guestbook-ui | ||
spec: | ||
selector: | ||
matchLabels: | ||
app: guestbook-ui | ||
template: | ||
metadata: | ||
labels: | ||
app: guestbook-ui | ||
spec: | ||
containers: | ||
- image: gcr.io/heptio-images/ks-guestbook-demo:0.1 | ||
name: guestbook-ui | ||
ports: | ||
- containerPort: 81 |
8 changes: 8 additions & 0 deletions
8
...rver/repository/testdata/app-parameters2492753174/app-parameters/multi/kustomization.yaml
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 |
---|---|---|
@@ -0,0 +1,8 @@ | ||
apiVersion: kustomize.config.k8s.io/v1beta1 | ||
kind: Kustomization | ||
|
||
resources: | ||
- guestbook.yaml | ||
images: | ||
- name: gcr.io/heptio-images/ks-guestbook-demo | ||
newTag: "0.1" |
3 changes: 3 additions & 0 deletions
3
...tdata/app-parameters2492753174/app-parameters/single-app-only/.argocd-source-testapp.yaml
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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
kustomize: | ||
images: | ||
- gcr.io/heptio-images/ks-guestbook-demo:0.3 |
18 changes: 18 additions & 0 deletions
18
...epository/testdata/app-parameters2492753174/app-parameters/single-app-only/guestbook.yaml
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 |
---|---|---|
@@ -0,0 +1,18 @@ | ||
apiVersion: apps/v1 | ||
kind: Deployment | ||
metadata: | ||
name: guestbook-ui | ||
spec: | ||
selector: | ||
matchLabels: | ||
app: guestbook-ui | ||
template: | ||
metadata: | ||
labels: | ||
app: guestbook-ui | ||
spec: | ||
containers: | ||
- image: gcr.io/heptio-images/ks-guestbook-demo:0.1 | ||
name: guestbook-ui | ||
ports: | ||
- containerPort: 81 |
8 changes: 8 additions & 0 deletions
8
...itory/testdata/app-parameters2492753174/app-parameters/single-app-only/kustomization.yaml
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 |
---|---|---|
@@ -0,0 +1,8 @@ | ||
apiVersion: kustomize.config.k8s.io/v1beta1 | ||
kind: Kustomization | ||
|
||
resources: | ||
- guestbook.yaml | ||
images: | ||
- name: gcr.io/heptio-images/ks-guestbook-demo | ||
newTag: "0.1" |
4 changes: 4 additions & 0 deletions
4
...y/testdata/app-parameters2492753174/app-parameters/single-global-helm/.argocd-source.yaml
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 |
---|---|---|
@@ -0,0 +1,4 @@ | ||
helm: | ||
parameters: | ||
- name: image.tag | ||
value: '0.2' |
2 changes: 2 additions & 0 deletions
2
...repository/testdata/app-parameters2492753174/app-parameters/single-global-helm/Chart.yaml
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 |
---|---|---|
@@ -0,0 +1,2 @@ | ||
name: my-chart | ||
version: 1.1.0 |
18 changes: 18 additions & 0 deletions
18
...data/app-parameters2492753174/app-parameters/single-global-helm/templates/deployment.yaml
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 |
---|---|---|
@@ -0,0 +1,18 @@ | ||
apiVersion: apps/v1 | ||
kind: Deployment | ||
metadata: | ||
name: guestbook-ui | ||
spec: | ||
selector: | ||
matchLabels: | ||
app: guestbook-ui | ||
template: | ||
metadata: | ||
labels: | ||
app: guestbook-ui | ||
spec: | ||
containers: | ||
- image: gcr.io/heptio-images/ks-guestbook-demo:{{.Values.image.tag}} | ||
name: guestbook-ui | ||
ports: | ||
- containerPort: 81 |
2 changes: 2 additions & 0 deletions
2
...epository/testdata/app-parameters2492753174/app-parameters/single-global-helm/values.yaml
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 |
---|---|---|
@@ -0,0 +1,2 @@ | ||
image: | ||
tag: 0.1 |
3 changes: 3 additions & 0 deletions
3
...sitory/testdata/app-parameters2492753174/app-parameters/single-global/.argocd-source.yaml
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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
kustomize: | ||
images: | ||
- gcr.io/heptio-images/ks-guestbook-demo:0.2 |
18 changes: 18 additions & 0 deletions
18
.../repository/testdata/app-parameters2492753174/app-parameters/single-global/guestbook.yaml
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 |
---|---|---|
@@ -0,0 +1,18 @@ | ||
apiVersion: apps/v1 | ||
kind: Deployment | ||
metadata: | ||
name: guestbook-ui | ||
spec: | ||
selector: | ||
matchLabels: | ||
app: guestbook-ui | ||
template: | ||
metadata: | ||
labels: | ||
app: guestbook-ui | ||
spec: | ||
containers: | ||
- image: gcr.io/heptio-images/ks-guestbook-demo:0.1 | ||
name: guestbook-ui | ||
ports: | ||
- containerPort: 81 |
8 changes: 8 additions & 0 deletions
8
...ository/testdata/app-parameters2492753174/app-parameters/single-global/kustomization.yaml
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 |
---|---|---|
@@ -0,0 +1,8 @@ | ||
apiVersion: kustomize.config.k8s.io/v1beta1 | ||
kind: Kustomization | ||
|
||
resources: | ||
- guestbook.yaml | ||
images: | ||
- name: gcr.io/heptio-images/ks-guestbook-demo | ||
newTag: "0.1" |
4 changes: 4 additions & 0 deletions
4
...ository/testdata/app-parameters3203332105/app-parameters/multi/.argocd-source-broken.yaml
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 |
---|---|---|
@@ -0,0 +1,4 @@ | ||
aloi | ||
kustomize: | ||
images: | ||
- gcr.io/heptio-images/ks-guestbook-demo:0.2 |
3 changes: 3 additions & 0 deletions
3
...sitory/testdata/app-parameters3203332105/app-parameters/multi/.argocd-source-testapp.yaml
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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
kustomize: | ||
images: | ||
- gcr.io/heptio-images/ks-guestbook-demo:0.3 |
6 changes: 6 additions & 0 deletions
6
...ry/testdata/app-parameters3203332105/app-parameters/multi/.argocd-source-unmergeable.yaml
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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
repo: https://somewhere | ||
kustomize: | ||
images: | ||
- gcr.io/heptio-images/ks-guestbook-demo:0.3 | ||
invalid: | ||
- I don't know |
3 changes: 3 additions & 0 deletions
3
...ver/repository/testdata/app-parameters3203332105/app-parameters/multi/.argocd-source.yaml
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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
kustomize: | ||
images: | ||
- gcr.io/heptio-images/ks-guestbook-demo:0.2 |
18 changes: 18 additions & 0 deletions
18
reposerver/repository/testdata/app-parameters3203332105/app-parameters/multi/guestbook.yaml
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 |
---|---|---|
@@ -0,0 +1,18 @@ | ||
apiVersion: apps/v1 | ||
kind: Deployment | ||
metadata: | ||
name: guestbook-ui | ||
spec: | ||
selector: | ||
matchLabels: | ||
app: guestbook-ui | ||
template: | ||
metadata: | ||
labels: | ||
app: guestbook-ui | ||
spec: | ||
containers: | ||
- image: gcr.io/heptio-images/ks-guestbook-demo:0.1 | ||
name: guestbook-ui | ||
ports: | ||
- containerPort: 81 |
8 changes: 8 additions & 0 deletions
8
...rver/repository/testdata/app-parameters3203332105/app-parameters/multi/kustomization.yaml
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 |
---|---|---|
@@ -0,0 +1,8 @@ | ||
apiVersion: kustomize.config.k8s.io/v1beta1 | ||
kind: Kustomization | ||
|
||
resources: | ||
- guestbook.yaml | ||
images: | ||
- name: gcr.io/heptio-images/ks-guestbook-demo | ||
newTag: "0.1" |
3 changes: 3 additions & 0 deletions
3
...tdata/app-parameters3203332105/app-parameters/single-app-only/.argocd-source-testapp.yaml
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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
kustomize: | ||
images: | ||
- gcr.io/heptio-images/ks-guestbook-demo:0.3 |
18 changes: 18 additions & 0 deletions
18
...epository/testdata/app-parameters3203332105/app-parameters/single-app-only/guestbook.yaml
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 |
---|---|---|
@@ -0,0 +1,18 @@ | ||
apiVersion: apps/v1 | ||
kind: Deployment | ||
metadata: | ||
name: guestbook-ui | ||
spec: | ||
selector: | ||
matchLabels: | ||
app: guestbook-ui | ||
template: | ||
metadata: | ||
labels: | ||
app: guestbook-ui | ||
spec: | ||
containers: | ||
- image: gcr.io/heptio-images/ks-guestbook-demo:0.1 | ||
name: guestbook-ui | ||
ports: | ||
- containerPort: 81 |
8 changes: 8 additions & 0 deletions
8
...itory/testdata/app-parameters3203332105/app-parameters/single-app-only/kustomization.yaml
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 |
---|---|---|
@@ -0,0 +1,8 @@ | ||
apiVersion: kustomize.config.k8s.io/v1beta1 | ||
kind: Kustomization | ||
|
||
resources: | ||
- guestbook.yaml | ||
images: | ||
- name: gcr.io/heptio-images/ks-guestbook-demo | ||
newTag: "0.1" |
4 changes: 4 additions & 0 deletions
4
...y/testdata/app-parameters3203332105/app-parameters/single-global-helm/.argocd-source.yaml
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 |
---|---|---|
@@ -0,0 +1,4 @@ | ||
helm: | ||
parameters: | ||
- name: image.tag | ||
value: '0.2' |
2 changes: 2 additions & 0 deletions
2
...repository/testdata/app-parameters3203332105/app-parameters/single-global-helm/Chart.yaml
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 |
---|---|---|
@@ -0,0 +1,2 @@ | ||
name: my-chart | ||
version: 1.1.0 |
18 changes: 18 additions & 0 deletions
18
...data/app-parameters3203332105/app-parameters/single-global-helm/templates/deployment.yaml
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 |
---|---|---|
@@ -0,0 +1,18 @@ | ||
apiVersion: apps/v1 | ||
kind: Deployment | ||
metadata: | ||
name: guestbook-ui | ||
spec: | ||
selector: | ||
matchLabels: | ||
app: guestbook-ui | ||
template: | ||
metadata: | ||
labels: | ||
app: guestbook-ui | ||
spec: | ||
containers: | ||
- image: gcr.io/heptio-images/ks-guestbook-demo:{{.Values.image.tag}} | ||
name: guestbook-ui | ||
ports: | ||
- containerPort: 81 |
2 changes: 2 additions & 0 deletions
2
...epository/testdata/app-parameters3203332105/app-parameters/single-global-helm/values.yaml
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 |
---|---|---|
@@ -0,0 +1,2 @@ | ||
image: | ||
tag: 0.1 |
3 changes: 3 additions & 0 deletions
3
...sitory/testdata/app-parameters3203332105/app-parameters/single-global/.argocd-source.yaml
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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
kustomize: | ||
images: | ||
- gcr.io/heptio-images/ks-guestbook-demo:0.2 |
18 changes: 18 additions & 0 deletions
18
.../repository/testdata/app-parameters3203332105/app-parameters/single-global/guestbook.yaml
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 |
---|---|---|
@@ -0,0 +1,18 @@ | ||
apiVersion: apps/v1 | ||
kind: Deployment | ||
metadata: | ||
name: guestbook-ui | ||
spec: | ||
selector: | ||
matchLabels: | ||
app: guestbook-ui | ||
template: | ||
metadata: | ||
labels: | ||
app: guestbook-ui | ||
spec: | ||
containers: | ||
- image: gcr.io/heptio-images/ks-guestbook-demo:0.1 | ||
name: guestbook-ui | ||
ports: | ||
- containerPort: 81 |
8 changes: 8 additions & 0 deletions
8
...ository/testdata/app-parameters3203332105/app-parameters/single-global/kustomization.yaml
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 |
---|---|---|
@@ -0,0 +1,8 @@ | ||
apiVersion: kustomize.config.k8s.io/v1beta1 | ||
kind: Kustomization | ||
|
||
resources: | ||
- guestbook.yaml | ||
images: | ||
- name: gcr.io/heptio-images/ks-guestbook-demo | ||
newTag: "0.1" |
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
Oops, something went wrong.