mirror of
https://gitlab.kube.huskypup.net/Scooby/Homelabv4.git
synced 2026-08-20 23:16:49 +00:00
Remove nessus app and fix envoy-gateway OCI chart bug
- Delete nessus Application CRD, manifests, and bootstrap script - Vendor envoy-gateway Helm chart (v1.6.3) locally to work around ArgoCD v3.3.3 Docker Hub OCI resolution bug - Re-enable auto-sync for envoy-gateway Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.6
parent
d304bd257d
commit
8bde33f4d1
@@ -0,0 +1,82 @@
|
||||
{{ $watchedNamespaces := list }}
|
||||
{{ if .Values.config.envoyGateway.provider.kubernetes }}
|
||||
{{ $kube := .Values.config.envoyGateway.provider.kubernetes }}
|
||||
{{ if $kube.watch }}
|
||||
{{ if $kube.watch.namespaces }}
|
||||
{{ if gt (len $kube.watch.namespaces) 0 }}
|
||||
{{ $watchedNamespaces = $kube.watch.namespaces }}
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
{{ if gt (len $watchedNamespaces) 0 }}
|
||||
{{ range $_, $ns := $watchedNamespaces }}
|
||||
---
|
||||
apiVersion: rbac.authorization.k8s.io/v1
|
||||
kind: Role
|
||||
metadata:
|
||||
creationTimestamp: null
|
||||
name: {{ include "eg.fullname" $ }}-envoy-gateway-role
|
||||
namespace: {{ $ns | quote }}
|
||||
rules:
|
||||
{{ include "eg.rbac.namespaced" $ }}
|
||||
---
|
||||
apiVersion: rbac.authorization.k8s.io/v1
|
||||
kind: RoleBinding
|
||||
metadata:
|
||||
name: {{ include "eg.fullname" $ }}-envoy-gateway-rolebinding
|
||||
namespace: {{ $ns | quote }}
|
||||
roleRef:
|
||||
apiGroup: rbac.authorization.k8s.io
|
||||
kind: Role
|
||||
name: {{ include "eg.fullname" $ }}-envoy-gateway-role
|
||||
subjects:
|
||||
- kind: ServiceAccount
|
||||
name: 'envoy-gateway'
|
||||
namespace: '{{ $.Release.Namespace }}'
|
||||
{{ end }}
|
||||
---
|
||||
apiVersion: rbac.authorization.k8s.io/v1
|
||||
kind: ClusterRole
|
||||
metadata:
|
||||
creationTimestamp: null
|
||||
name: {{ include "eg.fullname" . }}-envoy-gateway-role
|
||||
rules:
|
||||
{{ include "eg.rbac.cluster" . }}
|
||||
---
|
||||
apiVersion: rbac.authorization.k8s.io/v1
|
||||
kind: ClusterRoleBinding
|
||||
metadata:
|
||||
name: {{ include "eg.fullname" . }}-envoy-gateway-rolebinding
|
||||
roleRef:
|
||||
apiGroup: rbac.authorization.k8s.io
|
||||
kind: ClusterRole
|
||||
name: {{ include "eg.fullname" . }}-envoy-gateway-role
|
||||
subjects:
|
||||
- kind: ServiceAccount
|
||||
name: 'envoy-gateway'
|
||||
namespace: '{{ .Release.Namespace }}'
|
||||
{{ else }}
|
||||
---
|
||||
apiVersion: rbac.authorization.k8s.io/v1
|
||||
kind: ClusterRole
|
||||
metadata:
|
||||
creationTimestamp: null
|
||||
name: {{ include "eg.fullname" . }}-envoy-gateway-role
|
||||
rules:
|
||||
{{ include "eg.rbac.cluster" . }}
|
||||
{{ include "eg.rbac.namespaced" . }}
|
||||
---
|
||||
apiVersion: rbac.authorization.k8s.io/v1
|
||||
kind: ClusterRoleBinding
|
||||
metadata:
|
||||
name: {{ include "eg.fullname" . }}-envoy-gateway-rolebinding
|
||||
roleRef:
|
||||
apiGroup: rbac.authorization.k8s.io
|
||||
kind: ClusterRole
|
||||
name: {{ include "eg.fullname" . }}-envoy-gateway-role
|
||||
subjects:
|
||||
- kind: ServiceAccount
|
||||
name: 'envoy-gateway'
|
||||
namespace: '{{ .Release.Namespace }}'
|
||||
{{ end }}
|
||||
Reference in New Issue
Block a user