Skip to content

Commit

Permalink
Prepare for release of v0.20.0
Browse files Browse the repository at this point in the history
  • Loading branch information
vassilvk committed Mar 9, 2023
1 parent bf75c37 commit 4ad72f1
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 11 deletions.
8 changes: 7 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,13 @@ All notable changes to this project will be documented in this file.

## Unreleased

- 115: Implement topologySpreadConstraints and remove cpu limits
## 0.20.0 - 2023-03-09

- 115: Implement topologySpreadConstraints and remove cpu limits (thank you @runningman84)

## 0.19.1 - 2022-12-23

- 107: Inject node manifest in syntheticRefs to make it visible in pod ModRules

## 0.18.1 - 2022-12-15

Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ Run the following commands to deploy KubeMod.
# Make KubeMod ignore Kubernetes' system namespace.
kubectl label namespace kube-system admission.kubemod.io/ignore=true --overwrite
# Deploy KubeMod.
kubectl apply -f https://raw.githubusercontent.com/kubemod/kubemod/v0.19.1/bundle.yaml
kubectl apply -f https://raw.githubusercontent.com/kubemod/kubemod/v0.20.0/bundle.yaml
```

By default KubeMod allows you to target a limited set of high-level resource types, such as deployments and services.
Expand All @@ -68,15 +68,15 @@ kubectl delete job kubemod-crt-job -n kubemod-system
# Make KubeMod ignore Kubernetes' system namespace.
kubectl label namespace kube-system admission.kubemod.io/ignore=true --overwrite
# Upgrade KubeMod operator.
kubectl apply -f https://raw.githubusercontent.com/kubemod/kubemod/v0.19.1/bundle.yaml
kubectl apply -f https://raw.githubusercontent.com/kubemod/kubemod/v0.20.0/bundle.yaml
```

### Uninstall

To uninstall KubeMod and all its resources, run:

```bash
kubectl delete -f https://raw.githubusercontent.com/kubemod/kubemod/v0.19.1/bundle.yaml
kubectl delete -f https://raw.githubusercontent.com/kubemod/kubemod/v0.20.0/bundle.yaml
```

**Note**: Uninstalling KubeMod will also remove all your ModRules deployed to all Kubernetes namespaces.
Expand Down
13 changes: 7 additions & 6 deletions bundle.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,7 @@ spec:
- /kubemod
- -operator
- -webapp
image: kubemod/kubemod:v0.19.1
image: kubemod/kubemod:v0.20.0
livenessProbe:
httpGet:
path: /healthz
Expand All @@ -422,6 +422,7 @@ spec:
port: 8083
resources:
limits:
cpu: 100m
memory: 100Mi
requests:
cpu: 100m
Expand All @@ -431,11 +432,6 @@ spec:
name: cert
readOnly: true
terminationGracePeriodSeconds: 10
volumes:
- name: cert
secret:
defaultMode: 420
secretName: webhook-server-cert
topologySpreadConstraints:
- labelSelector:
matchLabels:
Expand All @@ -451,6 +447,11 @@ spec:
maxSkew: 1
topologyKey: kubernetes.io/hostname
whenUnsatisfiable: DoNotSchedule
volumes:
- name: cert
secret:
defaultMode: 420
secretName: webhook-server-cert
---
apiVersion: batch/v1
kind: CronJob
Expand Down
2 changes: 1 addition & 1 deletion config/manager/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ kind: Kustomization
images:
- name: controller
newName: kubemod/kubemod
newTag: v0.19.1
newTag: v0.20.0

0 comments on commit 4ad72f1

Please sign in to comment.