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,251 @@
|
||||
{{/*
|
||||
All namespaced resources for Envoy Gateway RBAC.
|
||||
*/}}
|
||||
{{- define "eg.rbac.namespaced" -}}
|
||||
- {{ include "eg.rbac.namespaced.basic" . | nindent 2 | trim }}
|
||||
- {{ include "eg.rbac.namespaced.apps" . | nindent 2 | trim }}
|
||||
- {{ include "eg.rbac.namespaced.discovery" . | nindent 2 | trim }}
|
||||
- {{ include "eg.rbac.namespaced.gateway.envoyproxy" . | nindent 2 | trim }}
|
||||
- {{ include "eg.rbac.namespaced.gateway.envoyproxy.status" . | nindent 2 | trim }}
|
||||
- {{ include "eg.rbac.namespaced.gateway.networking" . | nindent 2 | trim }}
|
||||
- {{ include "eg.rbac.namespaced.gateway.networking.status" . | nindent 2 | trim }}
|
||||
{{- if .Values.topologyInjector.enabled }}
|
||||
- {{ include "eg.rbac.namespaced.topologyinjector" . | nindent 2 | trim }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
|
||||
{{/*
|
||||
All cluster scoped resources for Envoy Gateway RBAC.
|
||||
*/}}
|
||||
{{- define "eg.rbac.cluster" -}}
|
||||
- {{ include "eg.rbac.cluster.basic" . | nindent 2 | trim }}
|
||||
- {{ include "eg.rbac.cluster.gateway.networking" . | nindent 2 | trim }}
|
||||
- {{ include "eg.rbac.cluster.gateway.networking.status" . | nindent 2 | trim }}
|
||||
- {{ include "eg.rbac.cluster.multiclusterservices" . | nindent 2 | trim }}
|
||||
{{- end }}
|
||||
|
||||
{{/*
|
||||
Namespaced
|
||||
*/}}
|
||||
|
||||
{{- define "eg.rbac.namespaced.basic" -}}
|
||||
apiGroups:
|
||||
- ""
|
||||
resources:
|
||||
- configmaps
|
||||
- secrets
|
||||
- services
|
||||
verbs:
|
||||
- get
|
||||
- list
|
||||
- watch
|
||||
{{- end }}
|
||||
|
||||
{{- define "eg.rbac.namespaced.topologyinjector" -}}
|
||||
apiGroups:
|
||||
- ""
|
||||
resources:
|
||||
- pods
|
||||
- pods/binding
|
||||
verbs:
|
||||
- get
|
||||
- list
|
||||
- patch
|
||||
- update
|
||||
- watch
|
||||
{{- end }}
|
||||
|
||||
{{- define "eg.rbac.namespaced.apps" -}}
|
||||
apiGroups:
|
||||
- apps
|
||||
resources:
|
||||
- deployments
|
||||
- daemonsets
|
||||
verbs:
|
||||
- get
|
||||
- list
|
||||
- watch
|
||||
{{- end }}
|
||||
|
||||
{{- define "eg.rbac.namespaced.discovery" -}}
|
||||
apiGroups:
|
||||
- discovery.k8s.io
|
||||
resources:
|
||||
- endpointslices
|
||||
verbs:
|
||||
- get
|
||||
- list
|
||||
- watch
|
||||
{{- end }}
|
||||
|
||||
{{- define "eg.rbac.namespaced.gateway.envoyproxy" -}}
|
||||
apiGroups:
|
||||
- gateway.envoyproxy.io
|
||||
resources:
|
||||
- envoyproxies
|
||||
- envoypatchpolicies
|
||||
- clienttrafficpolicies
|
||||
- backendtrafficpolicies
|
||||
- securitypolicies
|
||||
- envoyextensionpolicies
|
||||
- backends
|
||||
- httproutefilters
|
||||
verbs:
|
||||
- get
|
||||
- list
|
||||
- watch
|
||||
{{- end }}
|
||||
|
||||
{{- define "eg.rbac.namespaced.gateway.envoyproxy.status" -}}
|
||||
apiGroups:
|
||||
- gateway.envoyproxy.io
|
||||
resources:
|
||||
- envoypatchpolicies/status
|
||||
- clienttrafficpolicies/status
|
||||
- backendtrafficpolicies/status
|
||||
- securitypolicies/status
|
||||
- envoyextensionpolicies/status
|
||||
- backends/status
|
||||
verbs:
|
||||
- update
|
||||
{{- end }}
|
||||
|
||||
{{- define "eg.rbac.namespaced.gateway.networking" -}}
|
||||
apiGroups:
|
||||
- gateway.networking.k8s.io
|
||||
resources:
|
||||
- gateways
|
||||
- grpcroutes
|
||||
- httproutes
|
||||
- referencegrants
|
||||
- tcproutes
|
||||
- tlsroutes
|
||||
- udproutes
|
||||
- backendtlspolicies
|
||||
verbs:
|
||||
- get
|
||||
- list
|
||||
- watch
|
||||
{{- end }}
|
||||
|
||||
{{- define "eg.rbac.namespaced.gateway.networking.status" -}}
|
||||
apiGroups:
|
||||
- gateway.networking.k8s.io
|
||||
resources:
|
||||
- gateways/status
|
||||
- grpcroutes/status
|
||||
- httproutes/status
|
||||
- tcproutes/status
|
||||
- tlsroutes/status
|
||||
- udproutes/status
|
||||
- backendtlspolicies/status
|
||||
verbs:
|
||||
- update
|
||||
{{- end }}
|
||||
|
||||
{{/*
|
||||
Cluster scope
|
||||
*/}}
|
||||
|
||||
{{- define "eg.rbac.cluster.basic" -}}
|
||||
apiGroups:
|
||||
- ""
|
||||
resources:
|
||||
- nodes
|
||||
- namespaces
|
||||
verbs:
|
||||
- get
|
||||
- list
|
||||
- watch
|
||||
{{- end }}
|
||||
|
||||
{{- define "eg.rbac.cluster.gateway.networking" -}}
|
||||
apiGroups:
|
||||
- gateway.networking.k8s.io
|
||||
resources:
|
||||
- gatewayclasses
|
||||
verbs:
|
||||
- get
|
||||
- list
|
||||
- patch
|
||||
- update
|
||||
- watch
|
||||
{{- end }}
|
||||
|
||||
|
||||
{{- define "eg.rbac.cluster.multiclusterservices" -}}
|
||||
apiGroups:
|
||||
- multicluster.x-k8s.io
|
||||
resources:
|
||||
- serviceimports
|
||||
verbs:
|
||||
- get
|
||||
- list
|
||||
- watch
|
||||
{{- end }}
|
||||
|
||||
{{- define "eg.rbac.cluster.gateway.networking.status" -}}
|
||||
apiGroups:
|
||||
- gateway.networking.k8s.io
|
||||
resources:
|
||||
- gatewayclasses/status
|
||||
verbs:
|
||||
- update
|
||||
{{- end }}
|
||||
|
||||
{{- define "eg.rbac.infra.basic" -}}
|
||||
- apiGroups:
|
||||
- ""
|
||||
resources:
|
||||
- serviceaccounts
|
||||
- services
|
||||
- configmaps
|
||||
verbs:
|
||||
- create
|
||||
- get
|
||||
- list
|
||||
- delete
|
||||
- deletecollection
|
||||
- patch
|
||||
- apiGroups:
|
||||
- apps
|
||||
resources:
|
||||
- deployments
|
||||
- daemonsets
|
||||
verbs:
|
||||
- create
|
||||
- get
|
||||
- delete
|
||||
- deletecollection
|
||||
- patch
|
||||
- apiGroups:
|
||||
- autoscaling
|
||||
- policy
|
||||
resources:
|
||||
- horizontalpodautoscalers
|
||||
- poddisruptionbudgets
|
||||
verbs:
|
||||
- create
|
||||
- get
|
||||
- list
|
||||
- delete
|
||||
- deletecollection
|
||||
- patch
|
||||
- apiGroups:
|
||||
- certificates.k8s.io
|
||||
resources:
|
||||
- clustertrustbundles
|
||||
verbs:
|
||||
- list
|
||||
- get
|
||||
- watch
|
||||
{{- end }}
|
||||
|
||||
{{- define "eg.rbac.infra.tokenreview" -}}
|
||||
- apiGroups:
|
||||
- authentication.k8s.io
|
||||
resources:
|
||||
- tokenreviews
|
||||
verbs:
|
||||
- create
|
||||
{{- end }}
|
||||
Reference in New Issue
Block a user