-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Revert vector-operator #495
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
timtorChen
force-pushed
the
revert-vector-operator
branch
from
January 3, 2025 19:07
b6d5ab8
to
15c87b6
Compare
timtorChen
force-pushed
the
revert-vector-operator
branch
from
January 3, 2025 19:08
15c87b6
to
797783a
Compare
--- kubernetes/vector-operator Kustomization: flux-system/5-vector-operator Namespace: flux-system/vector-operator
+++ kubernetes/vector-operator Kustomization: flux-system/5-vector-operator Namespace: flux-system/vector-operator
@@ -1,12 +0,0 @@
----
-apiVersion: v1
-kind: Namespace
-metadata:
- labels:
- kustomize.toolkit.fluxcd.io/name: 5-vector-operator
- kustomize.toolkit.fluxcd.io/namespace: flux-system
- pod-security.kubernetes.io/audit: restricted
- pod-security.kubernetes.io/enforce: restricted
- pod-security.kubernetes.io/warn: restricted
- name: vector-operator
-
--- kubernetes/vector-operator Kustomization: flux-system/5-vector-operator CiliumNetworkPolicy: vector-operator/vector-operator-default-policy
+++ kubernetes/vector-operator Kustomization: flux-system/5-vector-operator CiliumNetworkPolicy: vector-operator/vector-operator-default-policy
@@ -1,17 +0,0 @@
----
-apiVersion: cilium.io/v2
-kind: CiliumNetworkPolicy
-metadata:
- labels:
- kustomize.toolkit.fluxcd.io/name: 5-vector-operator
- kustomize.toolkit.fluxcd.io/namespace: flux-system
- name: vector-operator-default-policy
- namespace: vector-operator
-specs:
-- egress:
- - {}
- endpointSelector:
- matchLabels: {}
- ingress:
- - {}
-
--- kubernetes/vector-operator Kustomization: flux-system/5-vector-operator HelmRepository: vector-operator/vector-operator
+++ kubernetes/vector-operator Kustomization: flux-system/5-vector-operator HelmRepository: vector-operator/vector-operator
@@ -1,13 +0,0 @@
----
-apiVersion: source.toolkit.fluxcd.io/v1
-kind: HelmRepository
-metadata:
- labels:
- kustomize.toolkit.fluxcd.io/name: 5-vector-operator
- kustomize.toolkit.fluxcd.io/namespace: flux-system
- name: vector-operator
- namespace: vector-operator
-spec:
- interval: 24h
- url: https://kaasops.github.io/vector-operator/helm
-
--- kubernetes/vector-operator Kustomization: flux-system/5-vector-operator HelmRelease: vector-operator/vector-operator
+++ kubernetes/vector-operator Kustomization: flux-system/5-vector-operator HelmRelease: vector-operator/vector-operator
@@ -1,45 +0,0 @@
----
-apiVersion: helm.toolkit.fluxcd.io/v2
-kind: HelmRelease
-metadata:
- labels:
- kustomize.toolkit.fluxcd.io/name: 5-vector-operator
- kustomize.toolkit.fluxcd.io/namespace: flux-system
- name: vector-operator
- namespace: vector-operator
-spec:
- chart:
- spec:
- chart: vector-operator
- sourceRef:
- kind: HelmRepository
- name: vector-operator
- version: '0.3'
- interval: 1h
- maxHistory: 1
- timeout: 1m0s
- values:
- createCRD: true
- image:
- repository: kaasops/vector-operator
- tag: v0.1.1
- resources:
- limits:
- memory: 128Mi
- requests:
- cpu: 50m
- memory: 50Mi
- securityContext:
- allowPrivilegeEscalation: false
- capabilities:
- drop:
- - ALL
- readOnlyRootFilesystem: true
- runAsGroup: 65534
- runAsNonRoot: true
- runAsUser: 65534
- seccompProfile:
- type: RuntimeDefault
- serviceAccount:
- create: true
-
--- kubernetes/vector-operator Kustomization: flux-system/5-vector-operator CiliumNetworkPolicy: vector-operator/vector-operator-policy
+++ kubernetes/vector-operator Kustomization: flux-system/5-vector-operator CiliumNetworkPolicy: vector-operator/vector-operator-policy
@@ -1,21 +0,0 @@
----
-apiVersion: cilium.io/v2
-kind: CiliumNetworkPolicy
-metadata:
- labels:
- kustomize.toolkit.fluxcd.io/name: 5-vector-operator
- kustomize.toolkit.fluxcd.io/namespace: flux-system
- name: vector-operator-policy
- namespace: vector-operator
-specs:
-- egress:
- - toEntities:
- - kube-apiserver
- toPorts:
- - ports:
- - port: '6443'
- protocol: TCP
- endpointSelector:
- matchLabels:
- app.kubernetes.io/name: vector-operator
-
--- kubernetes/flux-system Kustomization: flux-system/0-flux-system Kustomization: flux-system/5-vector-operator
+++ kubernetes/flux-system Kustomization: flux-system/0-flux-system Kustomization: flux-system/5-vector-operator
@@ -1,17 +0,0 @@
----
-apiVersion: kustomize.toolkit.fluxcd.io/v1
-kind: Kustomization
-metadata:
- labels:
- kustomize.toolkit.fluxcd.io/name: 0-flux-system
- kustomize.toolkit.fluxcd.io/namespace: flux-system
- name: 5-vector-operator
- namespace: flux-system
-spec:
- interval: 10m0s
- path: /kubernetes/vector-operator
- prune: false
- sourceRef:
- kind: GitRepository
- name: homelab
- |
--- HelmRelease: vector-operator/vector-operator ServiceAccount: vector-operator/vector-operator
+++ HelmRelease: vector-operator/vector-operator ServiceAccount: vector-operator/vector-operator
@@ -1,11 +0,0 @@
----
-apiVersion: v1
-kind: ServiceAccount
-metadata:
- name: vector-operator
- namespace: vector-operator
- labels:
- app.kubernetes.io/name: vector-operator
- app.kubernetes.io/instance: vector-operator
- app.kubernetes.io/managed-by: Helm
-
--- HelmRelease: vector-operator/vector-operator ClusterRole: vector-operator/vector-operator-clusterrole
+++ HelmRelease: vector-operator/vector-operator ClusterRole: vector-operator/vector-operator-clusterrole
@@ -1,113 +0,0 @@
----
-apiVersion: rbac.authorization.k8s.io/v1
-kind: ClusterRole
-metadata:
- name: vector-operator-clusterrole
- namespace: vector-operator
- labels:
- app.kubernetes.io/name: vector-operator
- app.kubernetes.io/instance: vector-operator
- app.kubernetes.io/managed-by: Helm
-rules:
-- apiGroups:
- - ''
- resources:
- - secrets
- - pods
- - pods/log
- - serviceaccounts
- - services
- - namespaces
- - nodes
- verbs:
- - create
- - delete
- - get
- - list
- - patch
- - update
- - watch
-- apiGroups:
- - rbac.authorization.k8s.io
- resources:
- - clusterroles
- - clusterrolebindings
- verbs:
- - create
- - delete
- - get
- - list
- - patch
- - update
- - watch
-- apiGroups:
- - apps
- resources:
- - daemonsets
- - replicasets
- - statefulsets
- verbs:
- - create
- - delete
- - get
- - list
- - patch
- - update
- - watch
-- apiGroups:
- - apps
- - extensions
- resources:
- - deployments
- verbs:
- - create
- - delete
- - get
- - list
- - patch
- - update
- - watch
-- apiGroups:
- - observability.kaasops.io
- resources:
- - clustervectorpipelines
- - vectorpipelines
- - vectors
- - clustervectoraggregators
- - vectoraggregators
- verbs:
- - create
- - delete
- - get
- - list
- - patch
- - update
- - watch
-- apiGroups:
- - observability.kaasops.io
- resources:
- - clustervectorpipelines/status
- - vectorpipelines/status
- - vectors/status
- - vectors/finalizers
- - clustervectoraggregators/status
- - vectoraggregators/status
- - vectoraggregators/finalizers
- verbs:
- - get
- - patch
- - update
-- apiGroups:
- - monitoring.coreos.com
- resources:
- - podmonitors
- verbs:
- - '*'
-- apiGroups:
- - ''
- resources:
- - events
- verbs:
- - watch
- - list
-
--- HelmRelease: vector-operator/vector-operator ClusterRoleBinding: vector-operator/vector-operator-clusterrolebinding
+++ HelmRelease: vector-operator/vector-operator ClusterRoleBinding: vector-operator/vector-operator-clusterrolebinding
@@ -1,19 +0,0 @@
----
-apiVersion: rbac.authorization.k8s.io/v1
-kind: ClusterRoleBinding
-metadata:
- name: vector-operator-clusterrolebinding
- namespace: vector-operator
- labels:
- app.kubernetes.io/name: vector-operator
- app.kubernetes.io/instance: vector-operator
- app.kubernetes.io/managed-by: Helm
-roleRef:
- apiGroup: rbac.authorization.k8s.io
- kind: ClusterRole
- name: vector-operator-clusterrole
-subjects:
-- kind: ServiceAccount
- name: vector-operator
- namespace: vector-operator
-
--- HelmRelease: vector-operator/vector-operator Deployment: vector-operator/vector-operator
+++ HelmRelease: vector-operator/vector-operator Deployment: vector-operator/vector-operator
@@ -1,46 +0,0 @@
----
-apiVersion: apps/v1
-kind: Deployment
-metadata:
- name: vector-operator
- namespace: vector-operator
- labels:
- app.kubernetes.io/name: vector-operator
- app.kubernetes.io/instance: vector-operator
- app.kubernetes.io/managed-by: Helm
-spec:
- replicas: 1
- selector:
- matchLabels:
- app.kubernetes.io/name: vector-operator
- app.kubernetes.io/instance: vector-operator
- template:
- metadata:
- labels:
- app.kubernetes.io/name: vector-operator
- app.kubernetes.io/instance: vector-operator
- spec:
- serviceAccountName: vector-operator
- containers:
- - image: kaasops/vector-operator:v0.1.1
- securityContext:
- allowPrivilegeEscalation: false
- capabilities:
- drop:
- - ALL
- readOnlyRootFilesystem: true
- runAsGroup: 65534
- runAsNonRoot: true
- runAsUser: 65534
- seccompProfile:
- type: RuntimeDefault
- imagePullPolicy: IfNotPresent
- name: vector-operator
- resources:
- limits:
- cpu: '1'
- memory: 128Mi
- requests:
- cpu: 50m
- memory: 50Mi
- |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The vector-operator was applied in #493. However, I found using
VectorAggregator
andVectorPipeline
CRD(s) as a replacement of helm chart(s) does not reduce much load as I expected.In this case, it would be better sticking with the upstream.