Skip to content

Commit

Permalink
chore: remove kube-rbac-proxy from lagoon-build-deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
shreddedbacon committed Dec 1, 2024
1 parent 62c1aeb commit d8e862d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 30 deletions.
6 changes: 3 additions & 3 deletions charts/lagoon-build-deploy/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,14 @@ kubeVersion: ">= 1.25.0-0"

type: application

version: 0.30.3
version: 0.31.0

appVersion: v0.20.3
appVersion: v0.21.0

annotations:
artifacthub.io/changes: |
- kind: changed
description: update controller to v0.20.3
description: update controller to v0.21.0
artifacthub.io/crds: |
- kind: LagoonBuild
version: v1beta2
Expand Down
19 changes: 2 additions & 17 deletions charts/lagoon-build-deploy/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,21 +25,6 @@ spec:
securityContext:
{{- toYaml .Values.podSecurityContext | nindent 8 }}
containers:
- name: kube-rbac-proxy
securityContext:
{{- toYaml .Values.kubeRBACProxy.securityContext | nindent 10 }}
image: "{{ .Values.kubeRBACProxy.image.repository }}:{{ .Values.kubeRBACProxy.image.tag }}"
imagePullPolicy: {{ .Values.kubeRBACProxy.image.pullPolicy }}
args:
- "--secure-listen-address=0.0.0.0:8443"
- "--upstream=http://127.0.0.1:8080/"
- "--logtostderr=true"
- "--v=10"
ports:
- containerPort: 8443
name: https
resources:
{{- toYaml .Values.kubeRBACProxy.resources | nindent 10 }}
- name: manager
securityContext:
{{- toYaml .Values.securityContext | nindent 10 }}
Expand All @@ -51,8 +36,8 @@ spec:
- containerPort: 9912
name: metrics
args:
- "--metrics-addr=127.0.0.1:8080"
- "--enable-leader-election=true"
- "--metrics-bind-address=127.0.0.1:8080"
- "--leader-elect=true"
{{- if .Values.harbor.enabled }}
- "--enable-harbor=true"
- "--harbor-password={{ .Values.harbor.adminPassword }}"
Expand Down
10 changes: 0 additions & 10 deletions charts/lagoon-build-deploy/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -197,13 +197,3 @@ tolerations: []

affinity: {}

Check failure on line 199 in charts/lagoon-build-deploy/values.yaml

View workflow job for this annotation

GitHub Actions / lint-test (v1.25.16@sha256:6110314339b3b44d10da7d27881849a87e092124afab5956f2e10ecdb463b025)

199:1 [empty-lines] too many blank lines (1 > 0)

Check failure on line 199 in charts/lagoon-build-deploy/values.yaml

View workflow job for this annotation

GitHub Actions / lint-test

199:1 [empty-lines] too many blank lines (1 > 0)

Check failure on line 199 in charts/lagoon-build-deploy/values.yaml

View workflow job for this annotation

GitHub Actions / lint-test (v1.26.15@sha256:1cc15d7b1edd2126ef051e359bf864f37bbcf1568e61be4d2ed1df7a3e87b354)

199:1 [empty-lines] too many blank lines (1 > 0)

Check failure on line 199 in charts/lagoon-build-deploy/values.yaml

View workflow job for this annotation

GitHub Actions / lint-test (v1.27.17@sha256:3fd82731af34efe19cd54ea5c25e882985bafa2c9baefe14f8deab1737d9fabe)

199:1 [empty-lines] too many blank lines (1 > 0)

Check failure on line 199 in charts/lagoon-build-deploy/values.yaml

View workflow job for this annotation

GitHub Actions / lint-test (v1.28.13@sha256:45d319897776e11167e4698f6b14938eb4d52eb381d9e3d7a9086c16c69a8110)

199:1 [empty-lines] too many blank lines (1 > 0)

Check failure on line 199 in charts/lagoon-build-deploy/values.yaml

View workflow job for this annotation

GitHub Actions / lint-test (v1.29.8@sha256:d46b7aa29567e93b27f7531d258c372e829d7224b25e3fc6ffdefed12476d3aa)

199:1 [empty-lines] too many blank lines (1 > 0)

Check failure on line 199 in charts/lagoon-build-deploy/values.yaml

View workflow job for this annotation

GitHub Actions / lint-test (v1.31.0@sha256:53df588e04085fd41ae12de0c3fe4c72f7013bba32a20e7325357a1ac94ba865)

199:1 [empty-lines] too many blank lines (1 > 0)
# this is a sidecar in the same pod as the lagoonBuildDeploy container
kubeRBACProxy:
image:
repository: gcr.io/kubebuilder/kube-rbac-proxy
pullPolicy: IfNotPresent
tag: v0.4.1

securityContext: {}

resources: {}

0 comments on commit d8e862d

Please sign in to comment.