Skip to content

Commit

Permalink
add missing intermediary path for Karpenter image (bis)
Browse files Browse the repository at this point in the history
  • Loading branch information
chomatdam committed Feb 29, 2024
1 parent 33b843e commit 06725e5
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 43 deletions.
80 changes: 40 additions & 40 deletions gitops/components/karpenter/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,43 +25,43 @@ patches:
namespace: kube-node-lease
server: https://kubernetes.default.svc
#replacements:
# - source:
# version: v1
# kind: ConfigMap
# name: kustomize-environment
# fieldPath: data.KARPENTER_ROLE_ARN
# targets:
# - select:
# group: argoproj.io
# version: v1alpha1
# kind: Application
# name: karpenter
# fieldPaths:
# - spec.source.helm.valuesObject.serviceAccount.annotations.[eks.amazonaws.com/role-arn]
# - source:
# version: v1
# kind: ConfigMap
# name: kustomize-environment
# fieldPath: data.CLUSTER_NAME
# targets:
# - select:
# group: argoproj.io
# version: v1alpha1
# kind: Application
# name: karpenter
# fieldPaths:
# - spec.source.helm.valuesObject.settings.clusterName
# - source:
# version: v1
# kind: ConfigMap
# name: kustomize-environment
# fieldPath: data.CLUSTER_NAME
# targets:
# - select:
# group: argoproj.io
# version: v1alpha1
# kind: Application
# name: karpenter
# fieldPaths:
# - spec.source.helm.valuesObject.settings.interruptionQueue
replacements:
- source:
version: v1
kind: ConfigMap
name: kustomize-environment
fieldPath: data.KARPENTER_ROLE_ARN
targets:
- select:
group: argoproj.io
version: v1alpha1
kind: Application
name: karpenter
fieldPaths:
- spec.source.helm.valuesObject.serviceAccount.annotations.[eks.amazonaws.com/role-arn]
- source:
version: v1
kind: ConfigMap
name: kustomize-environment
fieldPath: data.CLUSTER_NAME
targets:
- select:
group: argoproj.io
version: v1alpha1
kind: Application
name: karpenter
fieldPaths:
- spec.source.helm.valuesObject.settings.clusterName
- source:
version: v1
kind: ConfigMap
name: kustomize-environment
fieldPath: data.CLUSTER_NAME
targets:
- select:
group: argoproj.io
version: v1alpha1
kind: Application
name: karpenter
fieldPaths:
- spec.source.helm.valuesObject.settings.interruptionQueue
7 changes: 4 additions & 3 deletions gitops/components/karpenter/resources.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,10 @@ spec:
releaseName: karpenter
valuesObject:
controller:
image: ghcr.io/pelotech/karpenter
tag: v0.34.1-modified
digest: sha256:feb63abd6dbc2461ce5b7906cb6fe8e18a09f78aa8ed61cfd1f35df4db748cfe
image:
repository: ghcr.io/pelotech/karpenter
tag: v0.34.1-modified
digest: sha256:feb63abd6dbc2461ce5b7906cb6fe8e18a09f78aa8ed61cfd1f35df4db748cfe
env:
- name: IGNORED_RESOURCE_REQUESTS
value: "devices.kubevirt.io/kvm,devices.kubevirt.io/tun,devices.kubevirt.io/vhost-net"
Expand Down

0 comments on commit 06725e5

Please sign in to comment.