Skip to content

Commit

Permalink
Merge pull request #485 from vshn/appcat/233/fix/bucket_protection
Browse files Browse the repository at this point in the history
PR for appcat on fix/bucket_protection
  • Loading branch information
Kidswiss authored Sep 19, 2024
2 parents e95c3b9 + febf404 commit f1bd747
Show file tree
Hide file tree
Showing 53 changed files with 145 additions and 49 deletions.
2 changes: 1 addition & 1 deletion class/defaults.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ parameters:
appcat:
registry: ghcr.io
repository: vshn/appcat
tag: v4.93.1
tag: v4.93.2
functionAppcat:
registry: ${appcat:images:appcat:registry}
repository: ${appcat:images:appcat:repository}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ kind: Function
metadata:
name: function-appcat
spec:
package: ghcr.io/vshn/appcat:v4.93.1-func
package: ghcr.io/vshn/appcat:v4.93.2-func
runtimeConfigRef:
name: function-appcat
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ spec:
- --secure-port=9443
- --tls-cert-file=/apiserver.local.config/certificates/tls.crt
- --tls-private-key-file=/apiserver.local.config/certificates/tls.key
image: ghcr.io/vshn/appcat:v4.93.1
image: ghcr.io/vshn/appcat:v4.93.2
livenessProbe:
failureThreshold: 3
httpGet:
Expand Down
2 changes: 1 addition & 1 deletion tests/golden/billing/appcat/appcat/10_function_appcat.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ kind: Function
metadata:
name: function-appcat
spec:
package: ghcr.io/vshn/appcat:v4.93.1-func
package: ghcr.io/vshn/appcat:v4.93.2-func
runtimeConfigRef:
name: function-appcat
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ spec:
- --secure-port=9443
- --tls-cert-file=/apiserver.local.config/certificates/tls.crt
- --tls-private-key-file=/apiserver.local.config/certificates/tls.key
image: ghcr.io/vshn/appcat:v4.93.1
image: ghcr.io/vshn/appcat:v4.93.2
livenessProbe:
failureThreshold: 3
httpGet:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ spec:
value: "false"
- name: APPCAT_SLI_VSHNMARIADB
value: "false"
image: ghcr.io/vshn/appcat:v4.93.1
image: ghcr.io/vshn/appcat:v4.93.2
livenessProbe:
httpGet:
path: /healthz
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ kind: Function
metadata:
name: function-appcat
spec:
package: ghcr.io/vshn/appcat:v4.93.1-func
package: ghcr.io/vshn/appcat:v4.93.2-func
runtimeConfigRef:
name: function-appcat
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ spec:
- --secure-port=9443
- --tls-cert-file=/apiserver.local.config/certificates/tls.crt
- --tls-private-key-file=/apiserver.local.config/certificates/tls.key
image: ghcr.io/vshn/appcat:v4.93.1
image: ghcr.io/vshn/appcat:v4.93.2
livenessProbe:
failureThreshold: 3
httpGet:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ spec:
value: "false"
- name: APPCAT_SLI_VSHNMARIADB
value: "false"
image: ghcr.io/vshn/appcat:v4.93.1
image: ghcr.io/vshn/appcat:v4.93.2
livenessProbe:
httpGet:
path: /healthz
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ kind: Function
metadata:
name: function-appcat
spec:
package: ghcr.io/vshn/appcat:v4.93.1-func
package: ghcr.io/vshn/appcat:v4.93.2-func
runtimeConfigRef:
name: function-appcat
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ spec:
- --secure-port=9443
- --tls-cert-file=/apiserver.local.config/certificates/tls.crt
- --tls-private-key-file=/apiserver.local.config/certificates/tls.key
image: ghcr.io/vshn/appcat:v4.93.1
image: ghcr.io/vshn/appcat:v4.93.2
livenessProbe:
failureThreshold: 3
httpGet:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ spec:
value: "false"
- name: APPCAT_SLI_VSHNMARIADB
value: "false"
image: ghcr.io/vshn/appcat:v4.93.1
image: ghcr.io/vshn/appcat:v4.93.2
livenessProbe:
httpGet:
path: /healthz
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ kind: Function
metadata:
name: function-appcat
spec:
package: ghcr.io/vshn/appcat:v4.93.1-func
package: ghcr.io/vshn/appcat:v4.93.2-func
runtimeConfigRef:
name: function-appcat
24 changes: 24 additions & 0 deletions tests/golden/cloudscale/appcat/appcat/20_xrd_objectstorage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,30 @@ spec:
default: {}
description: Security defines the security of a service
properties:
allowAllNamespaces:
default: false
description: AllowAllNamespaces allows the service to be
accessible from all namespaces, this supersedes the AllowedNamespaces
field
type: boolean
allowedGroups:
description: AllowedGroups defines a list of Groups that
have limited access to the instance namespace
items:
type: string
type: array
allowedNamespaces:
description: AllowedNamespaces defines a list of namespaces
from where the service can be reached in the claim namespace
items:
type: string
type: array
allowedUsers:
description: AllowedUsers defines a list of Users that have
limited access to instance namespace.
items:
type: string
type: array
deletionProtection:
default: true
description: DeletionProtection blocks the deletion of the
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ spec:
- --secure-port=9443
- --tls-cert-file=/apiserver.local.config/certificates/tls.crt
- --tls-private-key-file=/apiserver.local.config/certificates/tls.key
image: ghcr.io/vshn/appcat:v4.93.1
image: ghcr.io/vshn/appcat:v4.93.2
livenessProbe:
failureThreshold: 3
httpGet:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ kind: Function
metadata:
name: function-appcat
spec:
package: ghcr.io/vshn/appcat:v4.93.1-func
package: ghcr.io/vshn/appcat:v4.93.2-func
runtimeConfigRef:
name: function-appcat
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ spec:
- --secure-port=9443
- --tls-cert-file=/apiserver.local.config/certificates/tls.crt
- --tls-private-key-file=/apiserver.local.config/certificates/tls.key
image: ghcr.io/vshn/appcat:v4.93.1
image: ghcr.io/vshn/appcat:v4.93.2
livenessProbe:
failureThreshold: 3
httpGet:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ spec:
env:
- name: PLANS_NAMESPACE
value: syn-appcat
image: ghcr.io/vshn/appcat:v4.93.1
image: ghcr.io/vshn/appcat:v4.93.2
livenessProbe:
httpGet:
path: /healthz
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ kind: Function
metadata:
name: function-appcat
spec:
package: ghcr.io/vshn/appcat:v4.93.1-func
package: ghcr.io/vshn/appcat:v4.93.2-func
runtimeConfigRef:
name: function-appcat
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ spec:
- --secure-port=9443
- --tls-cert-file=/apiserver.local.config/certificates/tls.crt
- --tls-private-key-file=/apiserver.local.config/certificates/tls.key
image: ghcr.io/vshn/appcat:v4.93.1
image: ghcr.io/vshn/appcat:v4.93.2
livenessProbe:
failureThreshold: 3
httpGet:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ spec:
value: "false"
- name: APPCAT_SLI_VSHNMARIADB
value: "false"
image: ghcr.io/vshn/appcat:v4.93.1
image: ghcr.io/vshn/appcat:v4.93.2
livenessProbe:
httpGet:
path: /healthz
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ kind: Function
metadata:
name: function-appcat
spec:
package: ghcr.io/vshn/appcat:v4.93.1-func
package: ghcr.io/vshn/appcat:v4.93.2-func
runtimeConfigRef:
name: function-appcat
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ spec:
- --secure-port=9443
- --tls-cert-file=/apiserver.local.config/certificates/tls.crt
- --tls-private-key-file=/apiserver.local.config/certificates/tls.key
image: ghcr.io/vshn/appcat:v4.93.1
image: ghcr.io/vshn/appcat:v4.93.2
livenessProbe:
failureThreshold: 3
httpGet:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ spec:
value: "false"
- name: APPCAT_SLI_VSHNMARIADB
value: "false"
image: ghcr.io/vshn/appcat:v4.93.1
image: ghcr.io/vshn/appcat:v4.93.2
livenessProbe:
httpGet:
path: /healthz
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ kind: Function
metadata:
name: function-appcat
spec:
package: ghcr.io/vshn/appcat:v4.93.1-func
package: ghcr.io/vshn/appcat:v4.93.2-func
runtimeConfigRef:
name: function-appcat
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ spec:
- --secure-port=9443
- --tls-cert-file=/apiserver.local.config/certificates/tls.crt
- --tls-private-key-file=/apiserver.local.config/certificates/tls.key
image: ghcr.io/vshn/appcat:v4.93.1
image: ghcr.io/vshn/appcat:v4.93.2
livenessProbe:
failureThreshold: 3
httpGet:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ spec:
value: "false"
- name: APPCAT_SLI_VSHNMARIADB
value: "false"
image: ghcr.io/vshn/appcat:v4.93.1
image: ghcr.io/vshn/appcat:v4.93.2
livenessProbe:
httpGet:
path: /healthz
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ kind: Function
metadata:
name: function-appcat
spec:
package: ghcr.io/vshn/appcat:v4.93.1-func
package: ghcr.io/vshn/appcat:v4.93.2-func
runtimeConfigRef:
name: function-appcat
24 changes: 24 additions & 0 deletions tests/golden/exoscale/appcat/appcat/20_xrd_objectstorage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,30 @@ spec:
default: {}
description: Security defines the security of a service
properties:
allowAllNamespaces:
default: false
description: AllowAllNamespaces allows the service to be
accessible from all namespaces, this supersedes the AllowedNamespaces
field
type: boolean
allowedGroups:
description: AllowedGroups defines a list of Groups that
have limited access to the instance namespace
items:
type: string
type: array
allowedNamespaces:
description: AllowedNamespaces defines a list of namespaces
from where the service can be reached in the claim namespace
items:
type: string
type: array
allowedUsers:
description: AllowedUsers defines a list of Users that have
limited access to instance namespace.
items:
type: string
type: array
deletionProtection:
default: true
description: DeletionProtection blocks the deletion of the
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ spec:
- --secure-port=9443
- --tls-cert-file=/apiserver.local.config/certificates/tls.crt
- --tls-private-key-file=/apiserver.local.config/certificates/tls.key
image: ghcr.io/vshn/appcat:v4.93.1
image: ghcr.io/vshn/appcat:v4.93.2
livenessProbe:
failureThreshold: 3
httpGet:
Expand Down
2 changes: 1 addition & 1 deletion tests/golden/minio/appcat/appcat/10_function_appcat.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ kind: Function
metadata:
name: function-appcat
spec:
package: ghcr.io/vshn/appcat:v4.93.1-func
package: ghcr.io/vshn/appcat:v4.93.2-func
runtimeConfigRef:
name: function-appcat
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ spec:
emailAlertingSmtpFromAddress: [email protected]
emailAlertingSmtpHost: smtp.eu.mailgun.org:465
emailAlertingSmtpUsername: [email protected]
imageTag: v4.93.1
imageTag: v4.93.2
isOpenshift: 'false'
maintenanceSA: helm-based-service-maintenance
minioChartRepository: https://charts.min.io
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ spec:
- --secure-port=9443
- --tls-cert-file=/apiserver.local.config/certificates/tls.crt
- --tls-private-key-file=/apiserver.local.config/certificates/tls.key
image: ghcr.io/vshn/appcat:v4.93.1
image: ghcr.io/vshn/appcat:v4.93.2
livenessProbe:
failureThreshold: 3
httpGet:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ spec:
env:
- name: PLANS_NAMESPACE
value: syn-appcat
image: ghcr.io/vshn/appcat:v4.93.1
image: ghcr.io/vshn/appcat:v4.93.2
livenessProbe:
httpGet:
path: /healthz
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ spec:
envFrom:
- secretRef:
name: appcat-sla-reports-creds
image: ghcr.io/vshn/appcat:v4.93.1
image: ghcr.io/vshn/appcat:v4.93.2
name: sla-reporter
resources:
limits:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ spec:
value: "false"
- name: APPCAT_SLI_VSHNMARIADB
value: "false"
image: ghcr.io/vshn/appcat:v4.93.1
image: ghcr.io/vshn/appcat:v4.93.2
livenessProbe:
httpGet:
path: /healthz
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ kind: Function
metadata:
name: function-appcat
spec:
package: ghcr.io/vshn/appcat:v4.93.1-func
package: ghcr.io/vshn/appcat:v4.93.2-func
runtimeConfigRef:
name: function-appcat
24 changes: 24 additions & 0 deletions tests/golden/openshift/appcat/appcat/20_xrd_objectstorage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,30 @@ spec:
default: {}
description: Security defines the security of a service
properties:
allowAllNamespaces:
default: false
description: AllowAllNamespaces allows the service to be
accessible from all namespaces, this supersedes the AllowedNamespaces
field
type: boolean
allowedGroups:
description: AllowedGroups defines a list of Groups that
have limited access to the instance namespace
items:
type: string
type: array
allowedNamespaces:
description: AllowedNamespaces defines a list of namespaces
from where the service can be reached in the claim namespace
items:
type: string
type: array
allowedUsers:
description: AllowedUsers defines a list of Users that have
limited access to instance namespace.
items:
type: string
type: array
deletionProtection:
default: true
description: DeletionProtection blocks the deletion of the
Expand Down
Loading

0 comments on commit f1bd747

Please sign in to comment.