Skip to content

Commit 07b5734

Browse files
authored
chore: fix typo in helm chart (createnamespace) (#10)
* chore: fix typo * chore: make bundle * chore: empty commit
1 parent ca03d45 commit 07b5734

10 files changed

Lines changed: 16 additions & 16 deletions

File tree

bundle/manifests/k8s-overcommit.clusterserviceversion.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ metadata:
3030
}
3131
]
3232
capabilities: Basic Install
33-
createdAt: "2025-07-02T09:48:54Z"
33+
createdAt: "2025-07-02T12:39:39Z"
3434
operators.operatorframework.io/builder: operator-sdk-v1.40.0
3535
operators.operatorframework.io/project_layout: go.kubebuilder.io/v4
3636
name: k8s-overcommit.v1.0.1

chart/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ Overcommitx Helm chart for deploying the Overcommitx Webhook
2626
| Key | Type | Default | Description |
2727
|-----|------|---------|-------------|
2828
| clusterRole.name | string | `"k8s-overcommit-clusterrole"` | Name of the cluster role |
29-
| createnamespace | bool | `false` | Whether to create the namespace if it does not exist |
29+
| createNamespace | bool | `false` | Whether to create the namespace if it does not exist |
3030
| deployment.image | object | `{"image":"operator","registry":"quay.io","repository":"k8s-overcommit","tag":"1.0.0"}` | Image configuration for the deployment |
3131
| deployment.image.image | string | `"operator"` | Image name |
3232
| deployment.image.registry | string | `"quay.io"` | Docker registry for the image |

chart/templates/01-namespace.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#
44
# SPDX-License-Identifier: Apache-2.0
55

6-
{{ if $.Values.createnamespace }}
6+
{{ if $.Values.createNamespace }}
77
---
88
apiVersion: v1
99
kind: Namespace

chart/values.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@
77
# -- The namespace to deploy the resources
88
namespace: k8s-overcommit
99
# -- Whether to create the namespace if it does not exist
10-
createnamespace: true
10+
createNamespace: true
1111
createOvercommit: false
1212
createClasses: false
1313
overcommit:
1414
# -- Label of the overcommit class
1515
overcommitClassLabel: inditex.com/overcommit-class
16-
excludedNamespaces: ".*(^(openshift|k8s-overcommit|kube).*).*"
16+
excludedNamespaces: ".*(^(openshift|k8s-overcommit|kube).*).*"
1717

1818
deployment:
1919
# -- Number of replicas for the deployment
@@ -42,4 +42,4 @@ deployment:
4242
podLabels:
4343
example-label: example-value
4444
serviceAccount:
45-
name: overcommit-sa
45+
name: overcommit-sa

deploy/chart/1.0.1/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ Overcommitx Helm chart for deploying the Overcommitx Webhook
2626
| Key | Type | Default | Description |
2727
|-----|------|---------|-------------|
2828
| clusterRole.name | string | `"k8s-overcommit-clusterrole"` | Name of the cluster role |
29-
| createnamespace | bool | `false` | Whether to create the namespace if it does not exist |
29+
| createNamespace | bool | `false` | Whether to create the namespace if it does not exist |
3030
| deployment.image | object | `{"image":"operator","registry":"quay.io","repository":"k8s-overcommit","tag":"1.0.0"}` | Image configuration for the deployment |
3131
| deployment.image.image | string | `"operator"` | Image name |
3232
| deployment.image.registry | string | `"quay.io"` | Docker registry for the image |

deploy/chart/1.0.1/templates/01-namespace.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#
44
# SPDX-License-Identifier: Apache-2.0
55

6-
{{ if $.Values.createnamespace }}
6+
{{ if $.Values.createNamespace }}
77
---
88
apiVersion: v1
99
kind: Namespace

deploy/chart/1.0.1/values.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@
77
# -- The namespace to deploy the resources
88
namespace: k8s-overcommit
99
# -- Whether to create the namespace if it does not exist
10-
createnamespace: true
10+
createNamespace: true
1111
createOvercommit: false
1212
createClasses: false
1313
overcommit:
1414
# -- Label of the overcommit class
1515
overcommitClassLabel: inditex.com/overcommit-class
16-
excludedNamespaces: ".*(^(openshift|k8s-overcommit|kube).*).*"
16+
excludedNamespaces: ".*(^(openshift|k8s-overcommit|kube).*).*"
1717

1818
deployment:
1919
# -- Number of replicas for the deployment
@@ -42,4 +42,4 @@ deployment:
4242
podLabels:
4343
example-label: example-value
4444
serviceAccount:
45-
name: overcommit-sa
45+
name: overcommit-sa

deploy/olm/1.0.1/k8s-overcommit.clusterserviceversion.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ metadata:
3030
}
3131
]
3232
capabilities: Basic Install
33-
createdAt: "2025-07-02T09:48:54Z"
33+
createdAt: "2025-07-02T12:39:39Z"
3434
operators.operatorframework.io/builder: operator-sdk-v1.40.0
3535
operators.operatorframework.io/project_layout: go.kubebuilder.io/v4
3636
name: k8s-overcommit.v1.0.1

hack/ci-mount-image.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ kubectl wait --for=condition=available --timeout=40s deployment/cert-manager-web
1212
make docker-build IMG=k8s-overcommit/webhook:teste2e
1313
kind load docker-image k8s-overcommit/webhook:teste2e --name kuttl-cluster
1414
echo "Mounted image in the Kind cluster, instaling operator"
15-
helm install k8s-overcommit chart --set createClasses=false --set createnamespace=true --set namespace=k8s-overcommit --set deployment.image.tag=teste2e --set deployment.image.registry=docker.io --set deployment.image.image=k8s-overcommit/webhook
15+
helm install k8s-overcommit chart --set createClasses=false --set createNamespace=true --set namespace=k8s-overcommit --set deployment.image.tag=teste2e --set deployment.image.registry=docker.io --set deployment.image.image=k8s-overcommit/webhook
1616
echo "Operator installed, waiting for the deployment to be ready"
1717
kubectl wait --for=condition=available --timeout=50s deployment/k8s-overcommit-operator -n $(yq eval '.namespace' chart/values.yaml)
1818
echo "Operator deployment ready, installing the overcommit CR"
@@ -24,4 +24,4 @@ sleep 10
2424
kubectl apply -f hack/overcommitClassTests.yaml
2525
sleep 10
2626
kubectl wait --for=condition=available --timeout=40s deployment/test-overcommit-webhook -n $(yq eval '.namespace' chart/values.yaml)
27-
echo "tests environment ready"
27+
echo "tests environment ready"

hack/tilt/values-dev.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@
55

66
---
77
createClasses: true
8-
createnamespace: false
8+
createNamespace: false
99
namespace: k8s-overcommit
1010

1111
deployment:
1212
image:
1313
registry: localhost:5000
1414
image: controller-manager
15-
tag: dev
15+
tag: dev

0 commit comments

Comments
 (0)