Skip to content

Commit

Permalink
Fix chart
Browse files Browse the repository at this point in the history
Signed-off-by: Tamal Saha <tamal@appscode.com>
  • Loading branch information
tamalsaha committed May 24, 2020
1 parent 7946465 commit 320f3ba
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion charts/kubepack-operator/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ The following table lists the configurable parameters of the `kubepack-operator`
| serviceAccount.name | The name of the service account to use. If not set and create is true, a name is generated using the fullname template | `` |
| apiserver.groupPriorityMinimum | The minimum priority the webhook api group should have at least. Please see https://github.com/kubernetes/kube-aggregator/blob/release-1.9/pkg/apis/apiregistration/v1beta1/types.go#L58-L64 for more information on proper values of this field. | `10000` |
| apiserver.versionPriority | The ordering of the webhook api inside of the group. Please see https://github.com/kubernetes/kube-aggregator/blob/release-1.9/pkg/apis/apiregistration/v1beta1/types.go#L66-L70 for more information on proper values of this field | `15` |
| apiserver.enableMutatingWebhook | If true, mutating webhook is configured for Kubepack CRDs | `true` |
| apiserver.enableMutatingWebhook | If true, mutating webhook is configured for Kubepack CRDs | `false` |
| apiserver.enableValidatingWebhook | If true, validating webhook is configured for Kubepack CRDss | `false` |
| apiserver.ca | CA certificate used by the Kubernetes api server. This field is automatically assigned by the operator. | `not-ca-cert` |
| apiserver.bypassValidatingWebhookXray | If true, bypasses checks that validating webhook is actually enabled in the Kubernetes cluster. | `false` |
Expand Down
2 changes: 1 addition & 1 deletion charts/kubepack-operator/templates/cluster-role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ rules:
- validatingwebhookconfigurations
verbs: ["delete", "list", "watch", "patch"]
- apiGroups:
- kubepack.dev
- kubepack.com
- appcatalog.appscode.com
resources:
- "*"
Expand Down
6 changes: 3 additions & 3 deletions charts/kubepack-operator/templates/mutating-webhook.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ metadata:
"helm.sh/hook": pre-install,pre-upgrade
"helm.sh/hook-delete-policy": before-hook-creation
webhooks:
- name: dashboards.mutators.kubepack.com
- name: applications.mutators.kubepack.com
clientConfig:
service:
namespace: default
Expand All @@ -24,11 +24,11 @@ webhooks:
- CREATE
- UPDATE
apiGroups:
- kubepack.dev
- kubepack.com
apiVersions:
- "*"
resources:
- dashboards
- applications
failurePolicy: Fail
{{- if and (ge $major 1) (ge $minor 12) }}
sideEffects: None
Expand Down
10 changes: 5 additions & 5 deletions charts/kubepack-operator/templates/user-roles.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ metadata:
rules:
- apiGroups:
- appcatalog.appscode.com
- kubepack.dev
- kubepack.com
resources:
- "*"
verbs: ["*"]
Expand All @@ -26,9 +26,9 @@ metadata:
"helm.sh/hook-delete-policy": before-hook-creation
rules:
- apiGroups:
- kubepack.dev
- kubepack.com
resources:
- dashboards
- applications
verbs: ["*"]
- apiGroups:
- appcatalog.appscode.com
Expand All @@ -47,9 +47,9 @@ metadata:
"helm.sh/hook-delete-policy": before-hook-creation
rules:
- apiGroups:
- kubepack.dev
- kubepack.com
resources:
- dashboards
- applications
verbs: ["get", "list", "watch"]
- apiGroups:
- appcatalog.appscode.com
Expand Down
6 changes: 3 additions & 3 deletions charts/kubepack-operator/templates/validating-webhook.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ metadata:
"helm.sh/hook": pre-install,pre-upgrade
"helm.sh/hook-delete-policy": before-hook-creation
webhooks:
- name: dashboards.validators.kubepack.com
- name: applications.validators.kubepack.com
clientConfig:
service:
namespace: default
Expand All @@ -24,11 +24,11 @@ webhooks:
- CREATE
- UPDATE
apiGroups:
- kubepack.dev
- kubepack.com
apiVersions:
- "*"
resources:
- dashboards
- applications
failurePolicy: Fail
{{- if and (ge $major 1) (ge $minor 12) }}
sideEffects: None
Expand Down
2 changes: 1 addition & 1 deletion charts/kubepack-operator/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ apiserver:
# for more information on proper values of this field
versionPriority: 15
# If true, mutating webhook is configured for Kubepack CRDs
enableMutatingWebhook: true
enableMutatingWebhook: false
# If true, validating webhook is configured for Kubepack CRDss
enableValidatingWebhook: false
# CA certificate used by the Kubernetes api server. This field is automatically assigned by the operator.
Expand Down

0 comments on commit 320f3ba

Please sign in to comment.