Skip to content

Commit

Permalink
Updating all the kustomize files to work with argo
Browse files Browse the repository at this point in the history
  • Loading branch information
BobJWalker committed Jan 3, 2024
1 parent 6071109 commit 7c1c138
Show file tree
Hide file tree
Showing 6 changed files with 42 additions and 12 deletions.
12 changes: 1 addition & 11 deletions k8s/base/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,4 @@ apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization

resources:
- trident-deployment.yaml

secretGenerator:
- name: trident-credentials
literals:
- connectionString="#{Project.Connection.String}"

images:
- name: bobjwalker99/trident
newName: bobjwalker99/trident
newTag: "#{Octopus.Release.Number}"
- trident-deployment.yaml
2 changes: 1 addition & 1 deletion k8s/base/trident-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ spec:
spec:
containers:
- name: trident-web
image: bobjwalker99/trident:3.4.0.350
image: bobjwalker99/trident:3.4.0.357
resources:
requests:
memory: "64Mi"
Expand Down
10 changes: 10 additions & 0 deletions k8s/overlays/development/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,16 @@ namespace: development
resources:
- ../../base

secretGenerator:
- name: trident-credentials
literals:
- connectionString="blah"

images:
- name: bobjwalker99/trident
newName: bobjwalker99/trident
newTag: "3.4.0.357"

patches:
- target:
kind: Ingress
Expand Down
10 changes: 10 additions & 0 deletions k8s/overlays/production/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,16 @@ namespace: production
resources:
- ../../base

secretGenerator:
- name: trident-credentials
literals:
- connectionString="blah"

images:
- name: bobjwalker99/trident
newName: bobjwalker99/trident
newTag: "3.4.0.357"

patches:
- target:
kind: Ingress
Expand Down
10 changes: 10 additions & 0 deletions k8s/overlays/staging/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,16 @@ namespace: staging
resources:
- ../../base

secretGenerator:
- name: trident-credentials
literals:
- connectionString="blah"

images:
- name: bobjwalker99/trident
newName: bobjwalker99/trident
newTag: "3.4.0.357"

patches:
- target:
kind: Ingress
Expand Down
10 changes: 10 additions & 0 deletions k8s/overlays/test/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,16 @@ namespace: test
resources:
- ../../base

secretGenerator:
- name: trident-credentials
literals:
- connectionString="blah"

images:
- name: bobjwalker99/trident
newName: bobjwalker99/trident
newTag: "3.4.0.357"

patches:
- target:
kind: Ingress
Expand Down

0 comments on commit 7c1c138

Please sign in to comment.