Skip to content

Commit

Permalink
add missing intermediary path for Karpenter image
Browse files Browse the repository at this point in the history
  • Loading branch information
chomatdam committed Feb 29, 2024
1 parent 4b825a3 commit 33b843e
Showing 1 changed file with 40 additions and 40 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

0 comments on commit 33b843e

Please sign in to comment.