Skip to content
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

feat(agent,rapid-response): set metadata.namespace on all namespaced items #1259

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion charts/agent/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ description: Sysdig Monitor and Secure agent
type: application

# currently matching sysdig 1.14.32
version: 1.11.1
version: 1.12.0

appVersion: 12.15.0

Expand Down
1 change: 1 addition & 0 deletions charts/agent/templates/role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ apiVersion: rbac.authorization.k8s.io/v1
kind: Role
metadata:
name: {{ include "agent.fullname" . }}
namespace: {{ include "agent.namespace" . }}
rules:
- apiGroups:
- coordination.k8s.io
Expand Down
1 change: 1 addition & 0 deletions charts/agent/templates/rolebinding.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
name: {{ include "agent.fullname" .}}
namespace: {{ include "agent.namespace" . }}
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: Role
Expand Down
2 changes: 1 addition & 1 deletion charts/rapid-response/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.6.3
version: 0.7.0

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand Down
1 change: 1 addition & 0 deletions charts/rapid-response/templates/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ apiVersion: v1
kind: ConfigMap
metadata:
name: {{ template "rapidResponse.fullname" . }}-config
namespace: {{ .Release.Namespace }}
labels:
{{ include "rapidResponse.labels" . | indent 4 }}
data:
Expand Down
1 change: 1 addition & 0 deletions charts/rapid-response/templates/daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ apiVersion: apps/v1
kind: DaemonSet
metadata:
name: {{ template "rapidResponse.fullname" . }}
namespace: {{ .Release.Namespace }}
labels:
{{ include "rapidResponse.labels" . | indent 4 }}
{{ include "rapidResponse.daemonSetLabels" . | indent 4 }}
Expand Down
3 changes: 3 additions & 0 deletions charts/rapid-response/templates/secrets.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ apiVersion: v1
kind: Secret
metadata:
name: {{ template "rapidResponse.fullname" . }}-access-key
namespace: {{ .Release.Namespace }}
labels:
{{ include "rapidResponse.labels" . | indent 4 }}
type: Opaque
Expand All @@ -15,6 +16,7 @@ apiVersion: v1
kind: Secret
metadata:
name: {{ template "rapidResponse.fullname" . }}-passphrase
namespace: {{ .Release.Namespace }}
labels:
{{ include "rapidResponse.labels" . | indent 4 }}
type: Opaque
Expand All @@ -27,6 +29,7 @@ apiVersion: v1
kind: Secret
metadata:
name: {{ template "rapidResponse.fullname" . }}-additionalca
namespace: {{ .Release.Namespace }}
labels:
{{ include "rapidResponse.labels" . | indent 4 }}
type: Opaque
Expand Down
1 change: 1 addition & 0 deletions charts/rapid-response/templates/serviceaccount.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ apiVersion: v1
kind: ServiceAccount
metadata:
name: {{ template "rapidResponse.serviceAccountName" .}}
namespace: {{ .Release.Namespace }}
labels:
{{ include "rapidResponse.labels" . | indent 4 }}
{{- end }}
6 changes: 3 additions & 3 deletions charts/sysdig-deploy/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: sysdig-deploy
description: A chart with various Sysdig components for Kubernetes
type: application
version: 1.14.3
version: 1.15.0
maintainers:
- name: aroberts87
email: [email protected]
Expand All @@ -20,7 +20,7 @@ dependencies:
- name: agent
# repository: https://charts.sysdig.com
repository: file://../agent
version: ~1.11.1
version: ~1.12.0
alias: agent
condition: agent.enabled
- name: common
Expand Down Expand Up @@ -48,6 +48,6 @@ dependencies:
- name: rapid-response
# repository: https://charts.sysdig.com
repository: file://../rapid-response
version: ~0.6.3
version: ~0.7.0
alias: rapidResponse
condition: rapidResponse.enabled
Loading