Skip to content

Commit

Permalink
chore: remove Kustomize (#3081)
Browse files Browse the repository at this point in the history
Everything is now managed by helm
  • Loading branch information
stuartwdouglas authored Oct 11, 2024
1 parent e1adfce commit e518502
Show file tree
Hide file tree
Showing 10 changed files with 16 additions and 15 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,11 @@ jobs:
password: ${{ secrets.FTL_DOCKER_PUSH_TOKEN }}
- name: Push Helm Chart
run: |
version="$(git describe --tags --abbrev=0 | sed s/v//)"
helm registry login -u ftl0 -p "$PASSWORD" registry-1.docker.io
version="$(git describe --tags --abbrev=0)"
just chart release oci://registry-1.docker.io/ftl0/ftl-charts "$version"
env:
PASSWORD: ${{ secrets.FTL_DOCKER_PUSH_TOKEN }}
- name: Push Docker Images
run: |
version="$(git describe --tags --abbrev=0)"
Expand Down
1 change: 0 additions & 1 deletion bin/.kustomize-5.4.3.pkg

This file was deleted.

1 change: 0 additions & 1 deletion bin/kustomize

This file was deleted.

2 changes: 1 addition & 1 deletion charts/Chart.lock
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ dependencies:
repository: https://helm.goharbor.io
version: 1.15.1
digest: sha256:54ee3d28306509e5360950f19a6ff0add5552f2a90adef6c50dcecf77d7fd119
generated: "2024-10-10T14:53:25.059332+11:00"
generated: "2024-10-11T12:37:53.504441+11:00"
2 changes: 1 addition & 1 deletion charts/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ dependencies:
- name: harbor
version: v1.15.1
repository: https://helm.goharbor.io
condition: harbor.enabled
condition: harbor.enabled
7 changes: 3 additions & 4 deletions deployment/istio/istio.yaml → charts/templates/istio.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@

---
{{- if .Values.istio.enabled }}
apiVersion: networking.istio.io/v1alpha3
kind: EnvoyFilter
metadata:
name: enable-trailers
namespace: istio-system
spec:
configPatches:
- applyTo: NETWORK_FILTER
Expand All @@ -30,4 +28,5 @@ spec:
"@type": type.googleapis.com/envoy.extensions.upstreams.http.v3.HttpProtocolOptions
explicit_http_config:
http_protocol_options:
enable_trailers: true
enable_trailers: true
{{- end }}
3 changes: 3 additions & 0 deletions charts/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -159,3 +159,6 @@ postgresql:
username: ftl
password: ftl
database: ftl

istio:
enabled: false # set to true to have this chart install the grpc config to enable trailers
1 change: 0 additions & 1 deletion deployment/Justfile
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@ install-istio:
helm install istiod istio/istiod -n istio-system --wait
fi
kubectl label namespace default istio-injection=enabled --overwrite
kubectl kustomize --load-restrictor=LoadRestrictionsNone istio | kubectl apply -f -

setup: setup-registry setup-cluster

Expand Down
4 changes: 0 additions & 4 deletions deployment/istio/kustomization.yml

This file was deleted.

5 changes: 4 additions & 1 deletion deployment/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,7 @@ controller:
service:
ports:
- name: "http-8892"
port: 8892
port: 8892

istio:
enabled: true

0 comments on commit e518502

Please sign in to comment.