Skip to content

Commit

Permalink
Fix ci (#5629)
Browse files Browse the repository at this point in the history
* Revert "Improve security-related config in more yaml files (#5612)"

This reverts commit 699a33b.

* Revert "Improve security-related config in yaml files (#5611)"

This reverts commit ea859aa.
  • Loading branch information
Ben Moss authored Aug 9, 2021
1 parent e340077 commit 0c41e6d
Show file tree
Hide file tree
Showing 10 changed files with 0 additions and 87 deletions.
11 changes: 0 additions & 11 deletions config/brokers/mt-channel-broker/deployments/broker-filter.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -84,19 +84,8 @@ spec:
value: knative.dev/internal/eventing
- name: FILTER_PORT
value: "8080"

resources:
requests:
cpu: 100m
memory: 100Mi
limits:
cpu: 1000m
memory: 1000Mi

securityContext:
allowPrivilegeEscalation: false
runAsNonRoot: true
readOnlyRootFilesystem: true

---

Expand Down
11 changes: 0 additions & 11 deletions config/brokers/mt-channel-broker/deployments/broker-ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -84,19 +84,8 @@ spec:
value: knative.dev/internal/eventing
- name: INGRESS_PORT
value: "8080"

resources:
requests:
cpu: 100m
memory: 100Mi
limits:
cpu: 1000m
memory: 1000Mi

securityContext:
allowPrivilegeEscalation: false
runAsNonRoot: true
readOnlyRootFilesystem: true

---

Expand Down
10 changes: 0 additions & 10 deletions config/brokers/mt-channel-broker/deployments/controller.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -77,18 +77,8 @@ spec:
fieldRef:
fieldPath: metadata.name

resources:
requests:
cpu: 100m
memory: 100Mi
limits:
cpu: 1000m
memory: 1000Mi

securityContext:
allowPrivilegeEscalation: false
runAsNonRoot: true
readOnlyRootFilesystem: true

ports:
- name: metrics
Expand Down
10 changes: 0 additions & 10 deletions config/channels/in-memory-channel/deployments/controller.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -64,18 +64,8 @@ spec:
fieldRef:
fieldPath: metadata.name

resources:
requests:
cpu: 100m
memory: 100Mi
limits:
cpu: 1000m
memory: 1000Mi

securityContext:
allowPrivilegeEscalation: false
runAsNonRoot: true
readOnlyRootFilesystem: true

ports:
- name: metrics
Expand Down
11 changes: 0 additions & 11 deletions config/channels/in-memory-channel/deployments/dispatcher.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,17 +54,6 @@ spec:
livenessProbe:
<<: *probe
initialDelaySeconds: 5
resources:
requests:
cpu: 100m
memory: 100Mi
limits:
cpu: 1000m
memory: 1000Mi
securityContext:
allowPrivilegeEscalation: false
runAsNonRoot: true
readOnlyRootFilesystem: true
env:
- name: CONFIG_LOGGING_NAME
value: config-logging
Expand Down
5 changes: 0 additions & 5 deletions config/core/deployments/controller.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,6 @@ spec:
requests:
cpu: 100m
memory: 100Mi
limits:
cpu: 1000m
memory: 1000Mi

env:
- name: SYSTEM_NAMESPACE
Expand Down Expand Up @@ -89,8 +86,6 @@ spec:

securityContext:
allowPrivilegeEscalation: false
runAsNonRoot: true
readOnlyRootFilesystem: true

ports:
- name: metrics
Expand Down
4 changes: 0 additions & 4 deletions config/core/deployments/pingsource-mt-adapter.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -73,10 +73,6 @@ spec:
- containerPort: 9090
name: metrics
protocol: TCP
securityContext:
allowPrivilegeEscalation: false
runAsNonRoot: true
readOnlyRootFilesystem: true
resources:
requests:
cpu: 125m
Expand Down
2 changes: 0 additions & 2 deletions config/core/deployments/webhook.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,6 @@ spec:

securityContext:
allowPrivilegeEscalation: false
runAsNonRoot: true
readOnlyRootFilesystem: true

ports:
- name: https-webhook
Expand Down
13 changes: 0 additions & 13 deletions config/post-install/storage-version-migrator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,16 +43,3 @@ spec:
image: ko://knative.dev/eventing/vendor/knative.dev/pkg/apiextensions/storageversion/cmd/migrate
args:
- "pingsources.sources.knative.dev"

resources:
requests:
cpu: 100m
memory: 100Mi
limits:
cpu: 1000m
memory: 1000Mi

securityContext:
allowPrivilegeEscalation: false
runAsNonRoot: true
readOnlyRootFilesystem: true
10 changes: 0 additions & 10 deletions config/sugar/500-controller.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,18 +56,8 @@ spec:
fieldRef:
fieldPath: metadata.name

resources:
requests:
cpu: 100m
memory: 100Mi
limits:
cpu: 1000m
memory: 1000Mi

securityContext:
allowPrivilegeEscalation: false
runAsNonRoot: true
readOnlyRootFilesystem: true

ports:
- name: metrics
Expand Down

0 comments on commit 0c41e6d

Please sign in to comment.