Skip to content

Commit

Permalink
Address some snyk scan issues
Browse files Browse the repository at this point in the history
Signed-off-by: Scott Trent <[email protected]>
  • Loading branch information
trent-s committed Sep 10, 2024
1 parent a6fe8d3 commit af8b750
Show file tree
Hide file tree
Showing 10 changed files with 21 additions and 15 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.0.28
0.0.29
15 changes: 8 additions & 7 deletions bundle/manifests/susql-operator.clusterserviceversion.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,15 @@ metadata:
]
capabilities: Basic Install
categories: Monitoring
containerImage: quay.io/sustainable_computing_io/susql_operator:0.0.28
createdAt: "2024-09-10T02:33:36Z"
containerImage: quay.io/sustainable_computing_io/susql_operator:0.0.29
createdAt: "2024-09-10T06:44:16Z"
description: 'Aggregates energy and CO2 emission data for pods tagged with SusQL
labels '
operators.operatorframework.io/builder: operator-sdk-v1.36.1
operators.operatorframework.io/project_layout: go.kubebuilder.io/v4
repository: https://github.com/sustainable-computing-io/susql-operator
support: https://github.com/sustainable-computing-io/susql-operator/issues
name: susql-operator.v0.0.28
name: susql-operator.v0.0.29
namespace: placeholder
spec:
apiservicedefinitions: {}
Expand Down Expand Up @@ -204,6 +204,7 @@ spec:
capabilities:
drop:
- ALL
runAsNonRoot: true
- command:
- /manager
env:
Expand Down Expand Up @@ -297,8 +298,8 @@ spec:
key: CARBON-QUERY-CONV-2J
name: susql-config
optional: true
image: quay.io/sustainable_computing_io/susql_operator:0.0.28
imagePullPolicy: IfNotPresent
image: quay.io/sustainable_computing_io/susql_operator:0.0.29
imagePullPolicy: Always
livenessProbe:
httpGet:
path: /healthz
Expand Down Expand Up @@ -400,5 +401,5 @@ spec:
provider:
name: SusQL Operator Contributors
url: https://github.com/sustainable-computing-io/susql-operator
replaces: susql-operator.v0.0.27
version: 0.0.28
replaces: susql-operator.v0.0.28
version: 0.0.29
1 change: 1 addition & 0 deletions config/default/manager_auth_proxy_patch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ spec:
- name: kube-rbac-proxy
securityContext:
allowPrivilegeEscalation: false
runAsNonRoot: true
capabilities:
drop:
- "ALL"
Expand Down
6 changes: 6 additions & 0 deletions config/default/manager_config_patch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,9 @@ spec:
spec:
containers:
- name: manager
securityContext:
allowPrivilegeEscalation: false
runAsNonRoot: true
capabilities:
drop:
- ALL
2 changes: 1 addition & 1 deletion config/manager/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ kind: Kustomization
images:
- name: controller
newName: quay.io/sustainable_computing_io/susql_operator
newTag: 0.0.28
newTag: 0.0.29
2 changes: 1 addition & 1 deletion config/manager/manager.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ spec:
key: CARBON-QUERY-CONV-2J
optional: true
image: '<OPERATOR_IMG>'
imagePullPolicy: IfNotPresent
imagePullPolicy: Always
name: manager
securityContext:
allowPrivilegeEscalation: false
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -116,5 +116,5 @@ spec:
provider:
name: SusQL Operator Contributors
url: https://github.com/sustainable-computing-io/susql-operator
replaces: susql-operator.v0.0.28
version: 0.0.0
replaces: susql-operator.v0.0.27
Empty file.
2 changes: 1 addition & 1 deletion deployment/susql-controller/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ spec:
containers:
- name: {{ .Values.name }}
image: {{ required "Please specify a 'containerImage' in the user file" .Values.containerImage }}
imagePullPolicy: {{ .Values.imagePullPolicy | default "IfNotPresent" }}
imagePullPolicy: {{ .Values.imagePullPolicy | default "Always" }}
args:
- "--kepler-prometheus-url={{ .Values.keplerPrometheusUrl }}"
- "--kepler-metric-name={{ .Values.keplerMetricName }}"
Expand Down
4 changes: 1 addition & 3 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
module github.com/sustainable-computing-io/susql-operator

go 1.22.0

toolchain go1.22.7
go 1.22.7

require (
github.com/go-logr/logr v1.4.2
Expand Down

0 comments on commit af8b750

Please sign in to comment.