Skip to content
Snippets Groups Projects
Verified Commit ca87376a authored by Sheogorath's avatar Sheogorath :european_castle:
Browse files

fix(longhorn): Fix post-render kustomization

This patch removes one of the adjustments, in order to fix an error
message complaining about not being able to find the resource that is
supposed to be fixed.

```
Helm install failed: error while running post render on files: no matches for Id apps_v1_Deployment|~X|longhorn-driver-deployer; failed to find unique target for patch apps_v1_Deployment|longhorn-driver-deployer
```

I'm not sure why it fails, but this is an attempt to fix it, by removing
the errorous patch. Hopefully the daemonset patching will work out.
parent 10537abc
No related branches found
No related tags found
No related merge requests found
...@@ -17,28 +17,8 @@ spec: ...@@ -17,28 +17,8 @@ spec:
persistence: persistence:
defaultClassReplicaCount: 2 defaultClassReplicaCount: 2
postRenderers: postRenderers:
# Instruct helm-controller to use built-in "kustomize" post renderer.
- kustomize: - kustomize:
# Array of inline strategic merge patch definitions as YAML object.
# Note, this is a YAML object and not a string, to avoid syntax
# indention errors.
patchesStrategicMerge: patchesStrategicMerge:
- kind: Deployment
apiVersion: apps/v1
metadata:
name: longhorn-driver-deployer
spec:
template:
spec:
affinity:
nodeAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
nodeSelectorTerms:
- matchExpressions:
- key: plan.upgrade.cattle.io/longhorn-setup
operator: Exists
- key: plan.upgrade.cattle.io/longhorn-lvm
operator: Exists
- kind: DaemonSet - kind: DaemonSet
apiVersion: apps/v1 apiVersion: apps/v1
metadata: metadata:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment