UNCLASSIFIED

Commit e33dddf3 authored by Branden Cobb's avatar Branden Cobb
Browse files

Core Package Update

parent b8775155
repos:
- repo: https://repo1.dso.mil/platform-one/plugins/pre-commit-bootstraps.git
rev: v0.2.0
hooks: []
\ No newline at end of file
# Changelog
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [3.3.0-bb.0] - 2021-04-09
Added changelog
update chart and image to v3.3.0
* @toladipupo
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1. Definitions.
"License" shall mean the terms and conditions for use, reproduction,
and distribution as defined by Sections 1 through 9 of this document.
"Licensor" shall mean the copyright owner or entity authorized by
the copyright owner that is granting the License.
"Legal Entity" shall mean the union of the acting entity and all
other entities that control, are controlled by, or are under common
control with that entity. For the purposes of this definition,
"control" means (i) the power, direct or indirect, to cause the
direction or management of such entity, whether by contract or
otherwise, or (ii) ownership of fifty percent (50%) or more of the
outstanding shares, or (iii) beneficial ownership of such entity.
"You" (or "Your") shall mean an individual or Legal Entity
exercising permissions granted by this License.
"Source" form shall mean the preferred form for making modifications,
including but not limited to software source code, documentation
source, and configuration files.
"Object" form shall mean any form resulting from mechanical
transformation or translation of a Source form, including but
not limited to compiled object code, generated documentation,
and conversions to other media types.
"Work" shall mean the work of authorship, whether in Source or
Object form, made available under the License, as indicated by a
copyright notice that is included in or attached to the work
(an example is provided in the Appendix below).
"Derivative Works" shall mean any work, whether in Source or Object
form, that is based on (or derived from) the Work and for which the
editorial revisions, annotations, elaborations, or other modifications
represent, as a whole, an original work of authorship. For the purposes
of this License, Derivative Works shall not include works that remain
separable from, or merely link (or bind by name) to the interfaces of,
the Work and Derivative Works thereof.
"Contribution" shall mean any work of authorship, including
the original version of the Work and any modifications or additions
to that Work or Derivative Works thereof, that is intentionally
submitted to Licensor for inclusion in the Work by the copyright owner
or by an individual or Legal Entity authorized to submit on behalf of
the copyright owner. For the purposes of this definition, "submitted"
means any form of electronic, verbal, or written communication sent
to the Licensor or its representatives, including but not limited to
communication on electronic mailing lists, source code control systems,
and issue tracking systems that are managed by, or on behalf of, the
Licensor for the purpose of discussing and improving the Work, but
excluding communication that is conspicuously marked or otherwise
designated in writing by the copyright owner as "Not a Contribution."
"Contributor" shall mean Licensor and any individual or Legal Entity
on behalf of whom a Contribution has been received by Licensor and
subsequently incorporated within the Work.
2. Grant of Copyright License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
copyright license to reproduce, prepare Derivative Works of,
publicly display, publicly perform, sublicense, and distribute the
Work and such Derivative Works in Source or Object form.
3. Grant of Patent License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
(except as stated in this section) patent license to make, have made,
use, offer to sell, sell, import, and otherwise transfer the Work,
where such license applies only to those patent claims licensable
by such Contributor that are necessarily infringed by their
Contribution(s) alone or by combination of their Contribution(s)
with the Work to which such Contribution(s) was submitted. If You
institute patent litigation against any entity (including a
cross-claim or counterclaim in a lawsuit) alleging that the Work
or a Contribution incorporated within the Work constitutes direct
or contributory patent infringement, then any patent licenses
granted to You under this License for that Work shall terminate
as of the date such litigation is filed.
4. Redistribution. You may reproduce and distribute copies of the
Work or Derivative Works thereof in any medium, with or without
modifications, and in Source or Object form, provided that You
meet the following conditions:
(a) You must give any other recipients of the Work or
Derivative Works a copy of this License; and
(b) You must cause any modified files to carry prominent notices
stating that You changed the files; and
(c) You must retain, in the Source form of any Derivative Works
that You distribute, all copyright, patent, trademark, and
attribution notices from the Source form of the Work,
excluding those notices that do not pertain to any part of
the Derivative Works; and
(d) If the Work includes a "NOTICE" text file as part of its
distribution, then any Derivative Works that You distribute must
include a readable copy of the attribution notices contained
within such NOTICE file, excluding those notices that do not
pertain to any part of the Derivative Works, in at least one
of the following places: within a NOTICE text file distributed
as part of the Derivative Works; within the Source form or
documentation, if provided along with the Derivative Works; or,
within a display generated by the Derivative Works, if and
wherever such third-party notices normally appear. The contents
of the NOTICE file are for informational purposes only and
do not modify the License. You may add Your own attribution
notices within Derivative Works that You distribute, alongside
or as an addendum to the NOTICE text from the Work, provided
that such additional attribution notices cannot be construed
as modifying the License.
You may add Your own copyright statement to Your modifications and
may provide additional or different license terms and conditions
for use, reproduction, or distribution of Your modifications, or
for any such Derivative Works as a whole, provided Your use,
reproduction, and distribution of the Work otherwise complies with
the conditions stated in this License.
5. Submission of Contributions. Unless You explicitly state otherwise,
any Contribution intentionally submitted for inclusion in the Work
by You to the Licensor shall be under the terms and conditions of
this License, without any additional terms or conditions.
Notwithstanding the above, nothing herein shall supersede or modify
the terms of any separate license agreement you may have executed
with Licensor regarding such Contributions.
6. Trademarks. This License does not grant permission to use the trade
names, trademarks, service marks, or product names of the Licensor,
except as required for reasonable and customary use in describing the
origin of the Work and reproducing the content of the NOTICE file.
7. Disclaimer of Warranty. Unless required by applicable law or
agreed to in writing, Licensor provides the Work (and each
Contributor provides its Contributions) on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied, including, without limitation, any warranties or conditions
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
PARTICULAR PURPOSE. You are solely responsible for determining the
appropriateness of using or redistributing the Work and assume any
risks associated with Your exercise of permissions under this License.
8. Limitation of Liability. In no event and under no legal theory,
whether in tort (including negligence), contract, or otherwise,
unless required by applicable law (such as deliberate and grossly
negligent acts) or agreed to in writing, shall any Contributor be
liable to You for damages, including any direct, indirect, special,
incidental, or consequential damages of any character arising as a
result of this License or out of the use or inability to use the
Work (including but not limited to damages for loss of goodwill,
work stoppage, computer failure or malfunction, or any and all
other commercial damages or losses), even if such Contributor
has been advised of the possibility of such damages.
9. Accepting Warranty or Additional Liability. While redistributing
the Work or Derivative Works thereof, You may choose to offer,
and charge a fee for, acceptance of support, warranty, indemnity,
or other liability obligations and/or rights consistent with this
License. However, in accepting such obligations, You may act only
on Your own behalf and on Your sole responsibility, not on behalf
of any other Contributor, and only if You agree to indemnify,
defend, and hold each Contributor harmless for any liability
incurred by, or claims asserted against, such Contributor by reason
of your accepting any such warranty or additional liability.
END OF TERMS AND CONDITIONS
APPENDIX: How to apply the Apache License to your work.
To apply the Apache License to your work, attach the following
boilerplate notice, with the fields enclosed by brackets "{}"
replaced with your own identifying information. (Don't include
the brackets!) The text should be enclosed in the appropriate
comment syntax for the file format. We also recommend that a
file or class name and description of purpose be included on the
same "printed page" as the copyright notice for easier
identification within third-party archives.
Copyright 2021 Platform One
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
...@@ -2,8 +2,4 @@ ...@@ -2,8 +2,4 @@
Policy enforcement with [OPA Gatekeeper](https://github.com/open-policy-agent/gatekeeper). Policy enforcement with [OPA Gatekeeper](https://github.com/open-policy-agent/gatekeeper).
Default deployment (`deploy/`) is absent of `Constraints`. Instead, `ConstraintTemplates` and `Configs` are provided in addition to `OPA-Gatekeeper` that are known settings to work with the remaining [core](https://repo1.dso.mil/platform-one/big-bang/bootstraps/bigbang-bootstrap) P1 components.
For enabling constraints, ensure that `deploy/contstraints/core` is deployed.
For more details on usage , installation and application information follow this [link](./docs/README.md) For more details on usage , installation and application information follow this [link](./docs/README.md)
...@@ -3,8 +3,8 @@ description: A Helm chart for Gatekeeper ...@@ -3,8 +3,8 @@ description: A Helm chart for Gatekeeper
name: gatekeeper name: gatekeeper
keywords: keywords:
- open policy agent - open policy agent
version: 3.1.2-bb.3 version: 3.3.0-bb.0
home: https://github.com/open-policy-agent/gatekeeper home: https://github.com/open-policy-agent/gatekeeper
sources: sources:
- https://github.com/open-policy-agent/gatekeeper.git - https://github.com/open-policy-agent/gatekeeper.git
appVersion: v3.1.2 appVersion: v3.3.0
apiVersion: kpt.dev/v1alpha1 apiVersion: kpt.dev/v1alpha1
kind: Kptfile kind: Kptfile
metadata: metadata:
name: gatekeeper name: chart
upstream: upstream:
type: git type: git
git: git:
commit: bfcfa2d44c2f4e86fc0a9a6cea6c812a9d59cce1 commit: 201a78d6096e048719395263b87618ecb5235409
repo: https://github.com/open-policy-agent/gatekeeper repo: https://github.com/open-policy-agent/gatekeeper
directory: /charts/gatekeeper directory: /charts/gatekeeper
ref: v3.1.2 ref: v3.3.0
...@@ -3,24 +3,30 @@ ...@@ -3,24 +3,30 @@
## Parameters ## Parameters
| Parameter | Description | Default | | Parameter | Description | Default |
| :------------------------------- | :----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | :------------------------------------------------------------------------ | | :---------------------------------- | :----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | :------------------------------------------------------------------------ |
| auditInterval | The frequency with which audit is run | `60` | | auditInterval | The frequency with which audit is run | `60` |
| constraintViolationsLimit | The maximum # of audit violations reported on a constraint | `20` | | constraintViolationsLimit | The maximum # of audit violations reported on a constraint | `20` |
| auditFromCache | Take the roster of resources to audit from the OPA cache | `false` | | auditFromCache | Take the roster of resources to audit from the OPA cache | `false` |
| auditChunkSize | Chunk size for listing cluster resources for audit (alpha feature) | `0` | | auditChunkSize | Chunk size for listing cluster resources for audit (alpha feature) | `0` |
| disableValidatingWebhook | Disable ValidatingWebhook | `false` | | disableValidatingWebhook | Disable the validating webhook | `false` |
| validatingWebhookTimeoutSeconds | The timeout for the validating webhook in seconds | `3` |
| enableDeleteOperations | Enable validating webhook for delete operations | `false` |
| emitAdmissionEvents | Emit K8s events in gatekeeper namespace for admission violations (alpha feature) | `false` | | emitAdmissionEvents | Emit K8s events in gatekeeper namespace for admission violations (alpha feature) | `false` |
| emitAuditEvents | Emit K8s events in gatekeeper namespace for audit violations (alpha feature) | `false` | | emitAuditEvents | Emit K8s events in gatekeeper namespace for audit violations (alpha feature) | `false` |
| logLevel | Minimum log level | `INFO` | | logLevel | Minimum log level | `INFO` |
| image.pullPolicy | The image pull policy | `IfNotPresent` | | image.pullPolicy | The image pull policy | `IfNotPresent` |
| image.repository | Image repository | `openpolicyagent/gatekeeper` | | image.repository | Image repository | `openpolicyagent/gatekeeper` |
| image.release | The image release tag to use | Current release version: `v3.1.2` | | image.release | The image release tag to use | Current release version: `v3.3.0` |
| image.pullSecrets | Specify an array of imagePullSecrets | `[]` |
| resources | The resource request/limits for the container image | limits: 1 CPU, 512Mi, requests: 100mCPU, 256Mi | | resources | The resource request/limits for the container image | limits: 1 CPU, 512Mi, requests: 100mCPU, 256Mi |
| nodeSelector | The node selector to use for pod scheduling | `kubernetes.io/os: linux` | | nodeSelector | The node selector to use for pod scheduling | `kubernetes.io/os: linux` |
| affinity | The node affinity to use for pod scheduling | `{}` | | affinity | The node affinity to use for pod scheduling | `{}` |
| tolerations | The tolerations to use for pod scheduling | `[]` | | tolerations | The tolerations to use for pod scheduling | `[]` |
| controllerManager.priorityClassName | Priority class name for controller manager | `system-cluster-critical` |
| audit.priorityClassName | Priority class name for audit controller | `system-cluster-critical` |
| replicas | The number of Gatekeeper replicas to deploy for the webhook | `1` | | replicas | The number of Gatekeeper replicas to deploy for the webhook | `1` |
| podAnnotations | The annotations to add to the Gatekeeper pods | `container.seccomp.security.alpha.kubernetes.io/manager: runtime/default` | | podAnnotations | The annotations to add to the Gatekeeper pods | `container.seccomp.security.alpha.kubernetes.io/manager: runtime/default` |
| secretAnnotations | The annotations to add to the Gatekeeper secrets | `{}` |
| customResourceDefinitions.create | Whether the release should install CRDs. Regardless of this value, Helm v3+ will install the CRDs if those are not present already. Use --skip-crds with helm install if you want to skip CRD creation | `true` | | customResourceDefinitions.create | Whether the release should install CRDs. Regardless of this value, Helm v3+ will install the CRDs if those are not present already. Use --skip-crds with helm install if you want to skip CRD creation | `true` |
## Contributing Changes ## Contributing Changes
......
...@@ -13,8 +13,6 @@ spec: ...@@ -13,8 +13,6 @@ spec:
names: names:
kind: ConstraintTemplate kind: ConstraintTemplate
plural: constrainttemplates plural: constrainttemplates
shortNames:
- constraints
scope: Cluster scope: Cluster
subresources: subresources:
status: {} status: {}
......
{{- if .Values.monitoring.enabled }}
apiVersion: monitoring.coreos.com/v1
kind: PodMonitor
metadata:
name: gatekeeper
namespace: {{ .Release.Namespace }}
labels:
monitoring: gatekeeper
release: gatekeeper-system-gatekeeper
spec:
selector:
matchLabels:
app: gatekeeper
namespaceSelector:
matchNames:
- {{ .Release.Namespace }}
podMetricsEndpoints:
- port: metrics
interval: 10s
{{- end }}
apiVersion: policy/v1beta1
kind: PodSecurityPolicy
metadata:
annotations:
seccomp.security.alpha.kubernetes.io/allowedProfileNames: '*'
labels:
app: '{{ template "gatekeeper.name" . }}'
chart: '{{ template "gatekeeper.name" . }}'
gatekeeper.sh/system: "yes"
heritage: '{{ .Release.Service }}'
release: '{{ .Release.Name }}'
name: gatekeeper-admin
spec:
allowPrivilegeEscalation: false
fsGroup:
ranges:
- max: 65535
min: 1
rule: MustRunAs
requiredDropCapabilities:
- ALL
runAsUser:
rule: MustRunAsNonRoot
seLinux:
rule: RunAsAny
supplementalGroups:
ranges:
- max: 65535
min: 1
rule: MustRunAs
volumes:
- configMap
- projected
- secret
- downwardAPI
...@@ -4,7 +4,7 @@ metadata: ...@@ -4,7 +4,7 @@ metadata:
labels: labels:
app: '{{ template "gatekeeper.name" . }}' app: '{{ template "gatekeeper.name" . }}'
chart: '{{ template "gatekeeper.name" . }}' chart: '{{ template "gatekeeper.name" . }}'
control-plane: controller-manager control-plane: audit-controller
gatekeeper.sh/operation: audit gatekeeper.sh/operation: audit
gatekeeper.sh/system: "yes" gatekeeper.sh/system: "yes"
heritage: '{{ .Release.Service }}' heritage: '{{ .Release.Service }}'
...@@ -35,6 +35,7 @@ spec: ...@@ -35,6 +35,7 @@ spec:
heritage: '{{ .Release.Service }}' heritage: '{{ .Release.Service }}'
release: '{{ .Release.Name }}' release: '{{ .Release.Name }}'
spec: spec:
automountServiceAccountToken: true
containers: containers:
- args: - args:
- --audit-interval={{ .Values.auditInterval }} - --audit-interval={{ .Values.auditInterval }}
...@@ -77,24 +78,26 @@ spec: ...@@ -77,24 +78,26 @@ spec:
path: /readyz path: /readyz
port: 9090 port: 9090
resources: resources:
{{ toYaml .Values.resources | indent 10 }} {{ toYaml .Values.audit.resources | indent 10 }}
securityContext: securityContext:
allowPrivilegeEscalation: false allowPrivilegeEscalation: false
capabilities: capabilities:
drop: drop:
- all - all
readOnlyRootFilesystem: true
runAsGroup: 999 runAsGroup: 999
runAsNonRoot: true runAsNonRoot: true
runAsUser: 1000 runAsUser: 1000
{{- with .Values.imagePullSecrets }}
imagePullSecrets:
{{- toYaml . | nindent 8}}
{{- end }}
nodeSelector: nodeSelector:
{{ toYaml .Values.nodeSelector | indent 8 }} {{ toYaml .Values.audit.nodeSelector | indent 8 }}
affinity: affinity:
{{ toYaml .Values.affinity | indent 8 }} {{ toYaml .Values.audit.affinity | indent 8 }}
tolerations: tolerations:
{{ toYaml .Values.tolerations | indent 8 }} {{ toYaml .Values.audit.tolerations | indent 8 }}
imagePullSecrets:
{{ toYaml .Values.image.pullSecrets | indent 8 }}
{{- if .Values.audit.priorityClassName }}
priorityClassName: {{ .Values.audit.priorityClassName }}
{{- end }}
serviceAccountName: gatekeeper-admin serviceAccountName: gatekeeper-admin
terminationGracePeriodSeconds: 60 terminationGracePeriodSeconds: 60
...@@ -47,6 +47,7 @@ spec: ...@@ -47,6 +47,7 @@ spec:
- webhook - webhook
topologyKey: kubernetes.io/hostname topologyKey: kubernetes.io/hostname
weight: 100 weight: 100
automountServiceAccountToken: true
containers: containers:
- args: - args:
- --port=8443 - --port=8443
...@@ -89,12 +90,13 @@ spec: ...@@ -89,12 +90,13 @@ spec:
path: /readyz path: /readyz
port: 9090 port: 9090
resources: resources:
{{ toYaml .Values.resources | indent 10 }} {{ toYaml .Values.controllerManager.resources | indent 10 }}
securityContext: securityContext:
allowPrivilegeEscalation: false allowPrivilegeEscalation: false
capabilities: capabilities:
drop: drop:
- all - all
readOnlyRootFilesystem: true
runAsGroup: 999 runAsGroup: 999
runAsNonRoot: true runAsNonRoot: true
runAsUser: 1000 runAsUser: 1000
...@@ -102,16 +104,17 @@ spec: ...@@ -102,16 +104,17 @@ spec:
- mountPath: /certs - mountPath: /certs
name: cert name: cert
readOnly: true readOnly: true
{{- with .Values.imagePullSecrets }}
imagePullSecrets:
{{- toYaml . | nindent 8 }}
{{- end }}
nodeSelector: nodeSelector:
{{ toYaml .Values.nodeSelector | indent 8 }} {{ toYaml .Values.controllerManager.nodeSelector | indent 8 }}
affinity: affinity:
{{ toYaml .Values.affinity | indent 8 }} {{ toYaml .Values.controllerManager.affinity | indent 8 }}
tolerations: tolerations:
{{ toYaml .Values.tolerations | indent 8 }} {{ toYaml .Values.controllerManager.tolerations | indent 8 }}
imagePullSecrets:
{{ toYaml .Values.image.pullSecrets | indent 8 }}
{{- if .Values.controllerManager.priorityClassName }}
priorityClassName: {{ .Values.controllerManager.priorityClassName }}
{{- end }}
serviceAccountName: gatekeeper-admin serviceAccountName: gatekeeper-admin
terminationGracePeriodSeconds: 60 terminationGracePeriodSeconds: 60
volumes: volumes:
......
...@@ -62,8 +62,22 @@ rules: ...@@ -62,8 +62,22 @@ rules:
- patch - patch
- update - update
- watch - watch
- apiGroups:
- mutations.gatekeeper.sh
resources:
- '*'
verbs:
- create
- delete
- get
- list
- patch
- update
- watch
- apiGroups: - apiGroups:
- policy - policy
resourceNames:
- gatekeeper-admin
resources: resources:
- podsecuritypolicies - podsecuritypolicies
verbs: verbs:
......
...@@ -31,10 +31,13 @@ webhooks: ...@@ -31,10 +31,13 @@ webhooks:
operations: operations:
- CREATE - CREATE
- UPDATE - UPDATE
{{- if .Values.enableDeleteOperations }}
- DELETE
{{- end}}
resources: resources:
- '*' - '*'
sideEffects: None sideEffects: None
timeoutSeconds: 3 timeoutSeconds: {{ .Values.validatingWebhookTimeoutSeconds }}
- clientConfig: - clientConfig:
caBundle: Cg== caBundle: Cg==
service: service:
...@@ -54,5 +57,5 @@ webhooks: ...@@ -54,5 +57,5 @@ webhooks:
resources: resources:
- namespaces - namespaces
sideEffects: None sideEffects: None
timeoutSeconds: 3 timeoutSeconds: {{ .Values.validatingWebhookTimeoutSeconds }}
{{- end }} {{- end }}
apiVersion: v1 apiVersion: v1
kind: Secret kind: Secret
metadata: metadata:
annotations:
{{- toYaml .Values.secretAnnotations | trim | nindent 4 }}
labels: labels:
app: '{{ template "gatekeeper.name" . }}' app: '{{ template "gatekeeper.name" . }}'
chart: '{{ template "gatekeeper.name" . }}' chart: '{{ template "gatekeeper.name" . }}'
......
...@@ -2,21 +2,51 @@ replicas: 3 ...@@ -2,21 +2,51 @@ replicas: 3
auditInterval: 60 auditInterval: 60
constraintViolationsLimit: 20 constraintViolationsLimit: 20
auditFromCache: false auditFromCache: false
createNamespace: true
disableValidatingWebhook: false disableValidatingWebhook: false
validatingWebhookTimeoutSeconds: 3
enableDeleteOperations: false
auditChunkSize: 0 auditChunkSize: 0
logLevel: INFO logLevel: INFO
emitAdmissionEvents: false emitAdmissionEvents: false
emitAuditEvents: false emitAuditEvents: false
image: image:
repository: registry1.dso.mil/ironbank/opensource/openpolicyagent/gatekeeper repository: registry1.dso.mil/ironbank/opensource/openpolicyagent/gatekeeper
release: v3.1.2 release: v3.3.0
pullPolicy: IfNotPresent pullPolicy: IfNotPresent
nodeSelector: { kubernetes.io/os: linux } pullSecrets: []
affinity: {}
tolerations: []
podAnnotations: podAnnotations:
{ container.seccomp.security.alpha.kubernetes.io/manager: runtime/default } { container.seccomp.security.alpha.kubernetes.io/manager: runtime/default }
resources: secretAnnotations: {}
controllerManager:
priorityClassName: system-cluster-critical
affinity:
podAntiAffinity:
preferredDuringSchedulingIgnoredDuringExecution:
- podAffinityTerm:
labelSelector:
matchExpressions:
- key: gatekeeper.sh/operation
operator: In
values:
- webhook
topologyKey: kubernetes.io/hostname
weight: 100
tolerations: []
nodeSelector: { kubernetes.io/os: linux }
resources:
limits:
cpu: 1000m
memory: 512Mi
requests:
cpu: 100m
memory: 256Mi
audit:
priorityClassName: system-cluster-critical
affinity: {}
tolerations: []
nodeSelector: { kubernetes.io/os: linux }
resources:
limits: limits:
cpu: 1000m cpu: 1000m
memory: 512Mi memory: 512Mi
...@@ -26,6 +56,6 @@ resources: ...@@ -26,6 +56,6 @@ resources:
customResourceDefinitions: customResourceDefinitions:
create: true create: true
# Additions from upstream #Bigbang Additions
createNamespace: true monitoring:
imagePullSecrets: [ ] enabled: false
\ No newline at end of file
apiVersion: kpt.dev/v1alpha1
kind: Kptfile
metadata:
name: deploy
upstream:
type: git
git:
commit: eefa3ff9a3b8527d6b107e802226fd8776f6bd3b
repo: https://repo1.dso.mil/platform-one/big-bang/apps/core/policy
directory: /deploy
ref: bb-566-codeowners
apiVersion: config.gatekeeper.sh/v1alpha1
kind: Config
metadata:
name: config
namespace: gatekeeper-system
spec:
match:
- excludedNamespaces: ["kube-system", "gatekeeper-system", "istio-system", "logging",
"monitoring", "elastic-system"]
processes: ["*"]
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment