Skip to content

Commit

Permalink
Bump app-operator to v7.0.0, chart-operator to v4.0.0 and remove PSP …
Browse files Browse the repository at this point in the history
…support
  • Loading branch information
uvegla committed Nov 19, 2024
1 parent 296a0a4 commit f37e0e0
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 95 deletions.
35 changes: 0 additions & 35 deletions helm/cluster-apps-operator/templates/psp.yaml

This file was deleted.

33 changes: 0 additions & 33 deletions helm/cluster-apps-operator/templates/rbac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -129,36 +129,3 @@ roleRef:
kind: ClusterRole
name: {{ include "resource.default.name" . }}
apiGroup: rbac.authorization.k8s.io
---
{{- if not (((.Values.global).podSecurityStandards).enforced) }}
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: {{ include "resource.psp.name" . }}
labels:
{{- include "labels.common" . | nindent 4 }}
rules:
- apiGroups:
- extensions
resources:
- podsecuritypolicies
verbs:
- use
resourceNames:
- {{ include "resource.psp.name" . }}
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: {{ include "resource.psp.name" . }}
labels:
{{- include "labels.common" . | nindent 4 }}
subjects:
- kind: ServiceAccount
name: {{ include "resource.default.name" . }}
namespace: {{ include "resource.default.namespace" . }}
roleRef:
kind: ClusterRole
name: {{ include "resource.psp.name" . }}
apiGroup: rbac.authorization.k8s.io
{{- end }}
13 changes: 0 additions & 13 deletions helm/cluster-apps-operator/values.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,19 +65,6 @@
}
}
},
"global": {
"type": "object",
"properties": {
"podSecurityStandards": {
"type": "object",
"properties": {
"enforced": {
"type": "boolean"
}
}
}
}
},
"image": {
"type": "object",
"properties": {
Expand Down
8 changes: 2 additions & 6 deletions helm/cluster-apps-operator/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@ appOperator:
catalog: control-plane-catalog
# used by renovate
# repo: giantswarm/app-operator
version: 6.11.0
version: 7.0.0

chartOperator:
catalog: default
# used by renovate
# repo: giantswarm/chart-operator
version: 3.3.0
version: 4.0.0

baseDomain: ""

Expand Down Expand Up @@ -84,7 +84,3 @@ serviceMonitor:
interval: "60s"
# -- (duration) Prometheus scrape timeout.
scrapeTimeout: "45s"

global:
podSecurityStandards:
enforced: false
8 changes: 0 additions & 8 deletions service/controller/resource/clustersecret/vsphere_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,6 @@ func getValuesProxyEnabled() string {
global:
release:
version: 1.2.3
podSecurityStandards:
enforced: true
connectivity:
baseDomain: test.example.io
proxy:
Expand All @@ -119,8 +117,6 @@ func getValuesProxyDisabled() string {
global:
release:
version: 1.2.3
podSecurityStandards:
enforced: true
connectivity:
baseDomain: test.example.io
proxy:
Expand All @@ -135,8 +131,6 @@ func getValuesProxyNotDefined() string {
global:
release:
version: 1.2.3
podSecurityStandards:
enforced: true
connectivity:
baseDomain: test.example.io
availabilityZoneUsageLimit: 3
Expand All @@ -149,8 +143,6 @@ func getValuesProxyEmpty() string {
global:
release:
version: 1.2.3
podSecurityStandards:
enforced: true
connectivity:
baseDomain: test.example.io
proxy:
Expand Down

0 comments on commit f37e0e0

Please sign in to comment.