Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix ci #5629

Merged
merged 2 commits into from
Aug 9, 2021
Merged

Fix ci #5629

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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