Skip to content

Commit

Permalink
clenaup samples unsynced changes
Browse files Browse the repository at this point in the history
  • Loading branch information
SamMHD committed Aug 29, 2023
1 parent f051773 commit b13093d
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 14 deletions.
2 changes: 1 addition & 1 deletion config/manager/manager.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ spec:
- "--tls-key-path=/opt/cert/tls.key"
- "--tls-cert-path=/opt/cert/tls.crt"
- "--tls-ca-path=/opt/cert/ca.crt"
image: ghcr.io/snapp-incubator/cerberus:fad810
image: ghcr.io/snapp-incubator/cerberus:1.0.1
name: manager
volumeMounts:
- mountPath: /opt/cert
Expand Down
2 changes: 1 addition & 1 deletion config/samples/cerberus_service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ metadata:
name: cerberus
spec:
ports:
- name: https
- name: grpc
port: 8082
protocol: TCP
targetPort: grpc
Expand Down
4 changes: 2 additions & 2 deletions config/samples/cerberus_v1alpha1_accesstoken.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ metadata:
labels:
cerberus.snappcloud.io/secret: "true"
data:
token: c2FsYW1zYWxhbQo=
token: c2FsYW1zYWxhbQ==
---
apiVersion: cerberus.snappcloud.io/v1alpha1
kind: AccessToken
Expand All @@ -20,4 +20,4 @@ metadata:
spec:
active: Active
secretRef:
name: "sample-access"
name: "cerberus-sample-access"
4 changes: 2 additions & 2 deletions config/samples/cerberus_v1alpha1_webserviceaccessbinding.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ metadata:
name: webserviceaccessbinding-sample
spec:
subjects:
- accesstoken-sample
- cerberus-accesstoken-sample
webservices:
- webservice-sample
- cerberus-webservice-sample
4 changes: 2 additions & 2 deletions config/samples/echo_server.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: echo-deployment
name: echo
spec:
replicas: 1
selector:
Expand All @@ -22,7 +22,7 @@ spec:
apiVersion: v1
kind: Service
metadata:
name: echo-service
name: echo
spec:
ports:
- name: http-port
Expand Down
2 changes: 1 addition & 1 deletion config/samples/projectcontour_v1_extentionservice.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ metadata:
spec:
protocol: h2
services:
- name: cerberus
- name: cerberus-cerberus
port: 8082
9 changes: 4 additions & 5 deletions config/samples/projectcontour_v1_httpproxy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ apiVersion: projectcontour.io/v1
kind: HTTPProxy
metadata:
name: cerberus-test-route
namespace: monitoring
spec:
ingressClassName: private
routes:
Expand All @@ -11,8 +10,8 @@ spec:
enableWebsockets: false
permitInsecure: false
services:
- name: health-be
port: 8080
- name: cerberus-echo
port: 80
weight: 100
timeoutPolicy:
idle: 5m
Expand All @@ -23,7 +22,7 @@ spec:
authorization:
extensionRef:
namespace: cerberus-system
name: cerberus-auth
name: cerberus-cerberus-auth
authPolicy:
context:
X-Cerberus-Webservice: "cerberus-webservice-sample"
webservice: cerberus-webservice-sample

0 comments on commit b13093d

Please sign in to comment.