Skip to content

Commit

Permalink
Prepare for release 0.16.0
Browse files Browse the repository at this point in the history
  • Loading branch information
vassilvk committed Oct 24, 2022
1 parent d3bb27c commit ed1cb55
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 7 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.

## Unreleased

## 0.16.0 - 2022-10-24

- 91: Implement cascading ModRules through execution tiers

## 0.15.3 - 2022-09-20

- 93: FIX: CronJob in version "v1" cannot be handled as a CronJob: strict decoding error when deploying to Kubernetes 1.25.0
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,13 @@ Use KubeMod to:
* [Match section](#match-section)
* [Patch section](#patch-section)
* [Miscellaneous](#miscellaneous)
* [Execution tiers](#execution-tiers)
* [Namespaced and cluster-wide resources](#namespaced-and-cluster-wide-resources)
* [Target resources](#target-resources)
* [Note on idempotency](#note-on-idempotency)
* [Debugging ModRules](#debugging-modrules)
* [KubeMod's version of JSONPath](#kubemods-version-of-jsonpath)
* [Declarative kubectl apply](#declarative-kubectl-apply)
* [Gotchas](#gotchas)

---

Expand All @@ -47,7 +47,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.15.3/bundle.yaml
kubectl apply -f https://raw.githubusercontent.com/kubemod/kubemod/v0.16.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 @@ -64,15 +64,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.15.3/bundle.yaml
kubectl apply -f https://raw.githubusercontent.com/kubemod/kubemod/v0.16.0/bundle.yaml
```

### Uninstall

To uninstall KubeMod and all its resources, run:

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

**Note**: Uninstalling KubeMod will also remove all your ModRules deployed to all Kubernetes namespaces.
Expand Down
4 changes: 2 additions & 2 deletions bundle.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ spec:
description: ModRuleSpec defines the desired state of ModRule
properties:
executionTier:
description: ExecutionTier controls when this ModRule will be executed as it relates to the other ModRules loaded in the system. ModRules are matched and executed in tiers, starting with the lowest tier. ModRules in the lowest tier are executed first. Then the results of the execution is passed to the ModRules in the next tier. This cascading execution continues until the highest tier of ModRules has been executed. ModRules in the same tier are executed in indeterminate order.
description: ExecutionTier is a value between -32767 and 32766. ExecutionTier controls when this ModRule will be executed as it relates to the other ModRules loaded in the system. ModRules are matched and executed in tiers, starting with the lowest tier. The results of executing all ModRules in a tier are passed as input to the ModRules in the next tier. This cascading execution continues until the highest tier of ModRules has been executed. ModRules in the same tier are executed in indeterminate order.
type: integer
match:
description: Match is a list of match items which consist of select queries and expected match values or regular expressions. When all match items for an object are positive, the rule is in effect.
Expand Down Expand Up @@ -297,7 +297,7 @@ spec:
- /kubemod
- -operator
- -webapp
image: kubemod/kubemod:latest
image: kubemod/kubemod:v0.16.0
livenessProbe:
httpGet:
path: /healthz
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: latest
newTag: v0.16.0

0 comments on commit ed1cb55

Please sign in to comment.