Skip to content

Commit

Permalink
fix: using container image directly in resources.yaml (#37)
Browse files Browse the repository at this point in the history
  • Loading branch information
scoquelin authored Oct 16, 2024
1 parent dbdb572 commit 1f05333
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 33 deletions.
13 changes: 0 additions & 13 deletions kustomize/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,19 +9,6 @@ resources:
- ./rbac.yaml
- ./leader-election-rbac.yaml

#patches:
# Expose the prometheus metrics on default port
# - target:
# group: apps
# version: v1
# kind: StatefulSet
# path: ./overlays/nidhogg-statefulset-prometheus-patch.yaml

images:
- name: controller
newName: ghcr.io/pelotech/nidhogg
newTag: v0.5.1

replacements:
- source:
version: v1
Expand Down
18 changes: 0 additions & 18 deletions kustomize/overlays/nidhogg-statefulset-prometheus-patch.yaml

This file was deleted.

4 changes: 2 additions & 2 deletions kustomize/resources.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ spec:
containers:
- command:
- /manager
image: controller:latest
imagePullPolicy: Always
image: ghcr.io/pelotech/nidhogg:v0.5.1
imagePullPolicy: IfNotPresent
name: manager
args:
- --config-file=/config/config.json
Expand Down

0 comments on commit 1f05333

Please sign in to comment.