Skip to content

Commit

Permalink
chore: Prepare v3.12.0-beta.0 release (#2493)
Browse files Browse the repository at this point in the history
Co-authored-by: sozercan <sozercan@users.noreply.github.com>
Co-authored-by: Sertaç Özercan <852750+sozercan@users.noreply.github.com>
  • Loading branch information
3 people authored Jan 5, 2023
1 parent 8aa29b4 commit 0fc6306
Show file tree
Hide file tree
Showing 17 changed files with 53 additions and 41 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ DEV_TAG ?= dev
USE_LOCAL_IMG ?= false
ENABLE_GENERATOR_EXPANSION ?= false

VERSION := v3.11.0-rc.1
VERSION := v3.12.0-beta.0

KIND_VERSION ?= 0.17.0
# note: k8s version pinned since KIND image availability lags k8s releases
Expand Down
4 changes: 2 additions & 2 deletions charts/gatekeeper/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ name: gatekeeper
icon: https://open-policy-agent.github.io/gatekeeper/website/img/logo.svg
keywords:
- open policy agent
version: 3.11.0-rc.1
version: 3.12.0-beta.0
home: https://github.com/open-policy-agent/gatekeeper
sources:
- https://github.com/open-policy-agent/gatekeeper.git
appVersion: v3.11.0-rc.1
appVersion: v3.12.0-beta.0
16 changes: 10 additions & 6 deletions charts/gatekeeper/README.md

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ spec:
{{- end }}
args:
- --audit-interval={{ .Values.auditInterval }}
- --log-level={{ .Values.logLevel }}
- --log-level={{ (.Values.audit.logLevel | empty | not) | ternary .Values.audit.logLevel .Values.logLevel }}
- --constraint-violations-limit={{ .Values.constraintViolationsLimit }}
- --audit-from-cache={{ .Values.auditFromCache }}
- --audit-chunk-size={{ .Values.auditChunkSize }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ spec:
- --logtostderr
- --log-denies={{ .Values.logDenies }}
- --emit-admission-events={{ .Values.emitAdmissionEvents }}
- --log-level={{ .Values.logLevel }}
- --log-level={{ (.Values.controllerManager.logLevel | empty | not) | ternary .Values.controllerManager.logLevel .Values.logLevel }}
- --exempt-namespace={{ .Release.Namespace }}
- --operation=webhook
- --enable-external-data={{ .Values.enableExternalData }}
Expand Down
3 changes: 3 additions & 0 deletions charts/gatekeeper/templates/namespace-post-install.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ metadata:
"helm.sh/hook": post-install
"helm.sh/hook-weight": "-5"
"helm.sh/hook-delete-policy": hook-succeeded,before-hook-creation
{{- if .Values.postInstall.labelNamespace.extraAnnotations }}
{{- toYaml .Values.postInstall.labelNamespace.extraAnnotations | trim | nindent 4 }}
{{- end }}
spec:
template:
metadata:
Expand Down
3 changes: 3 additions & 0 deletions charts/gatekeeper/templates/namespace-post-upgrade.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ metadata:
"helm.sh/hook": post-upgrade
"helm.sh/hook-weight": "-5"
"helm.sh/hook-delete-policy": hook-succeeded,before-hook-creation
{{- if .Values.postUpgrade.labelNamespace.extraAnnotations }}
{{- toYaml .Values.postUpgrade.labelNamespace.extraAnnotations | trim | nindent 4 }}
{{- end }}
spec:
template:
metadata:
Expand Down
10 changes: 6 additions & 4 deletions charts/gatekeeper/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ postUpgrade:
enabled: false
image:
repository: openpolicyagent/gatekeeper-crds
tag: v3.11.0-rc.1
tag: v3.12.0-beta.0
pullPolicy: IfNotPresent
pullSecrets: []
extraNamespaces: []
Expand All @@ -48,6 +48,7 @@ postUpgrade:
"pod-security.kubernetes.io/warn-version=latest",
"pod-security.kubernetes.io/enforce=restricted",
"pod-security.kubernetes.io/enforce-version=v1.24"]
extraAnnotations: {}
affinity: {}
tolerations: []
nodeSelector: {kubernetes.io/os: linux}
Expand All @@ -67,7 +68,7 @@ postInstall:
extraRules: []
image:
repository: openpolicyagent/gatekeeper-crds
tag: v3.11.0-rc.1
tag: v3.12.0-beta.0
pullPolicy: IfNotPresent
pullSecrets: []
extraNamespaces: []
Expand All @@ -77,6 +78,7 @@ postInstall:
"pod-security.kubernetes.io/warn-version=latest",
"pod-security.kubernetes.io/enforce=restricted",
"pod-security.kubernetes.io/enforce-version=v1.24"]
extraAnnotations: {}
probeWebhook:
enabled: true
image:
Expand Down Expand Up @@ -105,7 +107,7 @@ preUninstall:
enabled: false
image:
repository: openpolicyagent/gatekeeper-crds
tag: v3.11.0-rc.1
tag: v3.12.0-beta.0
pullPolicy: IfNotPresent
pullSecrets: []
affinity: {}
Expand All @@ -124,7 +126,7 @@ preUninstall:
image:
repository: openpolicyagent/gatekeeper
crdRepository: openpolicyagent/gatekeeper-crds
release: v3.11.0-rc.1
release: v3.12.0-beta.0
pullPolicy: IfNotPresent
pullSecrets: []
podAnnotations: {}
Expand Down
4 changes: 2 additions & 2 deletions cmd/build/helmify/static/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ name: gatekeeper
icon: https://open-policy-agent.github.io/gatekeeper/website/img/logo.svg
keywords:
- open policy agent
version: 3.11.0-rc.1
version: 3.12.0-beta.0
home: https://github.com/open-policy-agent/gatekeeper
sources:
- https://github.com/open-policy-agent/gatekeeper.git
appVersion: v3.11.0-rc.1
appVersion: v3.12.0-beta.0
8 changes: 4 additions & 4 deletions cmd/build/helmify/static/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ _See [Exempting Namespaces](https://open-policy-agent.github.io/gatekeeper/websi
| postInstall.labelNamespace.extraNamespaces | The extra namespaces that need to have the label during post install hooks | `[]` |
| postInstall.labelNamespace.extraAnnotations | Extra annotations added to the post install Job | `{}` |
| postInstall.labelNamespace.image.repository | Image with kubectl to label the namespace | `openpolicyagent/gatekeeper-crds` |
| postInstall.labelNamespace.image.tag | Image tag | Current release version: `v3.11.0-rc.1` |
| postInstall.labelNamespace.image.tag | Image tag | Current release version: `v3.12.0-beta.0` |
| postInstall.labelNamespace.image.pullPolicy | Image pullPolicy | `IfNotPresent` |
| postInstall.labelNamespace.image.pullSecrets | Image pullSecrets | `[]` |
| postInstall.labelNamespace.extraRules | Extra rules for the gatekeeper-update-namespace-label Role | `[]` |
Expand All @@ -89,7 +89,7 @@ _See [Exempting Namespaces](https://open-policy-agent.github.io/gatekeeper/websi
| postUpgrade.labelNamespace.extraNamespaces | The extra namespaces that need to have the label during post upgrade hooks | `[]` |
| postUpgrade.labelNamespace.extraAnnotations | Extra annotations added to the post upgrade Job | `{}` |
| postUpgrade.labelNamespace.image.repository | Image with kubectl to label the namespace | `openpolicyagent/gatekeeper-crds` |
| postUpgrade.labelNamespace.image.tag | Image tag | Current release version: `v3.11.0-rc.1` |
| postUpgrade.labelNamespace.image.tag | Image tag | Current release version: `v3.12.0-beta.0` |
| postUpgrade.labelNamespace.image.pullPolicy | Image pullPolicy | `IfNotPresent` |
| postUpgrade.labelNamespace.image.pullSecrets | Image pullSecrets | `[]`
| postUpgrade.affinity | The affinity to use for pod scheduling in postUpgrade hook jobs | `{}` |
Expand All @@ -99,7 +99,7 @@ _See [Exempting Namespaces](https://open-policy-agent.github.io/gatekeeper/websi
| postUpgrade.securityContext | Security context applied on the container | `{ "allowPrivilegeEscalation": false, "capabilities": "drop": [all], "readOnlyRootFilesystem": true, "runAsGroup": 999, "runAsNonRoot": true, "runAsUser": 1000 }` |
| preUninstall.deleteWebhooks.enabled | Delete webhooks before gatekeeper itself is uninstalled | `false` |
| preUninstall.deleteWebhooks.image.repository | Image with kubectl to delete the webhooks | `openpolicyagent/gatekeeper-crds` |
| preUninstall.deleteWebhooks.image.tag | Image tag | Current release version: `v3.11.0-rc.1` |
| preUninstall.deleteWebhooks.image.tag | Image tag | Current release version: `v3.12.0-beta.0` |
| preUninstall.deleteWebhooks.image.pullPolicy | Image pullPolicy | `IfNotPresent` |
| preUninstall.deleteWebhooks.image.pullSecrets | Image pullSecrets | `[]` |
| preUninstall.deleteWebhooks.extraRules | Extra rules for the gatekeeper-delete-webhook-configs Role | `[]` |
Expand Down Expand Up @@ -149,7 +149,7 @@ _See [Exempting Namespaces](https://open-policy-agent.github.io/gatekeeper/websi
| logLevel | Minimum log level | `INFO` |
| image.pullPolicy | The image pull policy | `IfNotPresent` |
| image.repository | Image repository | `openpolicyagent/gatekeeper` |
| image.release | The image release tag to use | Current release version: `v3.11.0-rc.1` |
| image.release | The image release tag to use | Current release version: `v3.12.0-beta.0` |
| image.pullSecrets | Specify an array of imagePullSecrets | `[]` |
| 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` |
Expand Down
8 changes: 4 additions & 4 deletions cmd/build/helmify/static/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ postUpgrade:
enabled: false
image:
repository: openpolicyagent/gatekeeper-crds
tag: v3.11.0-rc.1
tag: v3.12.0-beta.0
pullPolicy: IfNotPresent
pullSecrets: []
extraNamespaces: []
Expand Down Expand Up @@ -68,7 +68,7 @@ postInstall:
extraRules: []
image:
repository: openpolicyagent/gatekeeper-crds
tag: v3.11.0-rc.1
tag: v3.12.0-beta.0
pullPolicy: IfNotPresent
pullSecrets: []
extraNamespaces: []
Expand Down Expand Up @@ -107,7 +107,7 @@ preUninstall:
enabled: false
image:
repository: openpolicyagent/gatekeeper-crds
tag: v3.11.0-rc.1
tag: v3.12.0-beta.0
pullPolicy: IfNotPresent
pullSecrets: []
affinity: {}
Expand All @@ -126,7 +126,7 @@ preUninstall:
image:
repository: openpolicyagent/gatekeeper
crdRepository: openpolicyagent/gatekeeper-crds
release: v3.11.0-rc.1
release: v3.12.0-beta.0
pullPolicy: IfNotPresent
pullSecrets: []
podAnnotations: {}
Expand Down
4 changes: 2 additions & 2 deletions config/manager/manager.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ spec:
- "--operation=webhook"
- "--operation=mutation-webhook"
- "--disable-opa-builtin={http.send}"
image: openpolicyagent/gatekeeper:v3.11.0-rc.1
image: openpolicyagent/gatekeeper:v3.12.0-beta.0
imagePullPolicy: Always
name: manager
ports:
Expand Down Expand Up @@ -148,7 +148,7 @@ spec:
- --disable-cert-rotation
command:
- /manager
image: openpolicyagent/gatekeeper:v3.11.0-rc.1
image: openpolicyagent/gatekeeper:v3.12.0-beta.0
env:
# used by Gatekeeper
- name: POD_NAMESPACE
Expand Down
4 changes: 2 additions & 2 deletions deploy/gatekeeper.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3189,7 +3189,7 @@ spec:
fieldPath: metadata.namespace
- name: CONTAINER_NAME
value: manager
image: openpolicyagent/gatekeeper:v3.11.0-rc.1
image: openpolicyagent/gatekeeper:v3.12.0-beta.0
imagePullPolicy: Always
livenessProbe:
httpGet:
Expand Down Expand Up @@ -3306,7 +3306,7 @@ spec:
fieldPath: metadata.namespace
- name: CONTAINER_NAME
value: manager
image: openpolicyagent/gatekeeper:v3.11.0-rc.1
image: openpolicyagent/gatekeeper:v3.12.0-beta.0
imagePullPolicy: Always
livenessProbe:
httpGet:
Expand Down
4 changes: 2 additions & 2 deletions manifest_staging/charts/gatekeeper/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ name: gatekeeper
icon: https://open-policy-agent.github.io/gatekeeper/website/img/logo.svg
keywords:
- open policy agent
version: 3.11.0-rc.1
version: 3.12.0-beta.0
home: https://github.com/open-policy-agent/gatekeeper
sources:
- https://github.com/open-policy-agent/gatekeeper.git
appVersion: v3.11.0-rc.1
appVersion: v3.12.0-beta.0
Loading

0 comments on commit 0fc6306

Please sign in to comment.