Skip to content

Commit ca03d45

Browse files
Doc: Update logo image in documentation and change a variable in valu… (#7)
* Doc: Update logo image in documentation and change a variable in values of the chart * fix: ensure newline at end of file in kustomization.yaml
1 parent 350d4cb commit ca03d45

12 files changed

Lines changed: 30 additions & 16 deletions

File tree

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ SPDX-License-Identifier: CC-BY-4.0
2929

3030
[🚀 Quick Start](#-quick-start)[📖 Documentation](./docs)[🤝 Contributing](./CONTRIBUTING.md)[📝 License](./LICENSE)
3131

32+
<img src="./docs/images/logo.png" alt="Logo" width="250" height="350">
33+
3234
</div>
3335

3436
---

bundle/manifests/k8s-overcommit.clusterserviceversion.yaml

Lines changed: 3 additions & 3 deletions
Large diffs are not rendered by default.

chart/templates/02-overcommit.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ kind: Overcommit
99
metadata:
1010
name: cluster
1111
spec:
12-
overcommitLabel: {{ $.Values.webhook.overcommitClassLabel }}
12+
overcommitLabel: {{ $.Values.overcommit.overcommitClassLabel }}
1313
labels:
1414
example.com/label: "true"
1515
annotations:

chart/templates/04-overcommitClass.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ spec:
1313
cpuOvercommit: 0.1
1414
memoryOvercommit: 0.8
1515
isDefault: false
16-
excludedNamespaces: "{{ .Values.webhook.excludedNamespaces }}"
16+
excludedNamespaces: "{{ .Values.overcommit.excludedNamespaces }}"
1717
labels:
1818
example.com/label: "true"
1919
annotations:
@@ -27,7 +27,7 @@ spec:
2727
cpuOvercommit: 0.8
2828
memoryOvercommit: 1
2929
isDefault: false
30-
excludedNamespaces: "{{ .Values.webhook.excludedNamespaces }}"
30+
excludedNamespaces: "{{ .Values.overcommit.excludedNamespaces }}"
3131
labels:
3232
example.com/label: "true"
3333
annotations:

chart/values.yaml

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

config/manifests/kustomization.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,3 +26,10 @@ resources:
2626
# # Update the indices in this path if adding or removing volumes in the manager's Deployment.
2727
# - op: remove
2828
# path: /spec/template/spec/volumes/0
29+
patches:
30+
- target:
31+
group: operators.coreos.com
32+
version: v1alpha1
33+
kind: ClusterServiceVersion
34+
name: k8s-overcommit\.v.*
35+
path: patches/icon.yaml

config/manifests/patches/icon.yaml

Lines changed: 5 additions & 0 deletions
Large diffs are not rendered by default.

deploy/chart/1.0.1/templates/02-overcommit.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ kind: Overcommit
99
metadata:
1010
name: cluster
1111
spec:
12-
overcommitLabel: {{ $.Values.webhook.overcommitClassLabel }}
12+
overcommitLabel: {{ $.Values.overcommit.overcommitClassLabel }}
1313
labels:
1414
example.com/label: "true"
1515
annotations:

deploy/chart/1.0.1/templates/04-overcommitClass.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ spec:
1313
cpuOvercommit: 0.1
1414
memoryOvercommit: 0.8
1515
isDefault: false
16-
excludedNamespaces: "{{ .Values.webhook.excludedNamespaces }}"
16+
excludedNamespaces: "{{ .Values.overcommit.excludedNamespaces }}"
1717
labels:
1818
example.com/label: "true"
1919
annotations:
@@ -27,7 +27,7 @@ spec:
2727
cpuOvercommit: 0.8
2828
memoryOvercommit: 1
2929
isDefault: false
30-
excludedNamespaces: "{{ .Values.webhook.excludedNamespaces }}"
30+
excludedNamespaces: "{{ .Values.overcommit.excludedNamespaces }}"
3131
labels:
3232
example.com/label: "true"
3333
annotations:

deploy/chart/1.0.1/values.yaml

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

0 commit comments

Comments
 (0)