Skip to content

Commit

Permalink
Move shoot to project timebertt
Browse files Browse the repository at this point in the history
  • Loading branch information
timebertt committed Sep 6, 2023
1 parent af5ebd1 commit dc76486
Show file tree
Hide file tree
Showing 16 changed files with 20 additions and 20 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ spec:
- --google-zone-visibility=public
- --policy=sync
- --registry=txt
- --txt-owner-id=timebertt-fb28d21f90-sharding
- --txt-owner-id=timebertt-sharding
- --interval=1m
env:
- name: GOOGLE_APPLICATION_CREDENTIALS
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: kyverno.io/v1
kind: Policy
metadata:
name: etcd-main
namespace: shoot--fb28d21f90--sharding
namespace: shoot--timebertt--sharding
spec:
failurePolicy: Ignore
rules:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: kyverno.io/v1
kind: Policy
metadata:
name: kube-apiserver-scale
namespace: shoot--fb28d21f90--sharding
namespace: shoot--timebertt--sharding
spec:
failurePolicy: Ignore
# schema validation doesn't seem to work in combination with the /scale subresource, disable it for now
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: kyverno.io/v1
kind: Policy
metadata:
name: kube-apiserver
namespace: shoot--fb28d21f90--sharding
namespace: shoot--timebertt--sharding
spec:
failurePolicy: Ignore
rules:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: kyverno.io/v1
kind: Policy
metadata:
name: kube-controller-manager
namespace: shoot--fb28d21f90--sharding
namespace: shoot--timebertt--sharding
spec:
failurePolicy: Ignore
rules:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ results:
- policy: kube-apiserver-scale
rule: replicas
resource: kube-apiserver
namespace: shoot--fb28d21f90--sharding
namespace: shoot--timebertt--sharding
kind: Scale
result: pass
patchedResource: scale_expected.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ kind: Scale
apiVersion: autoscaling/v1
metadata:
name: kube-apiserver
namespace: shoot--fb28d21f90--sharding
namespace: shoot--timebertt--sharding
spec:
replicas: 1
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ kind: Scale
apiVersion: autoscaling/v1
metadata:
name: kube-apiserver
namespace: shoot--fb28d21f90--sharding
namespace: shoot--timebertt--sharding
spec:
replicas: 4
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ metadata:
app: kubernetes
role: apiserver
name: kube-apiserver-awake
namespace: shoot--fb28d21f90--sharding
namespace: shoot--timebertt--sharding
spec:
replicas: 1
template:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ metadata:
app: kubernetes
role: apiserver
name: kube-apiserver-awake
namespace: shoot--fb28d21f90--sharding
namespace: shoot--timebertt--sharding
spec:
replicas: 4
template:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ metadata:
app: kubernetes
role: apiserver
name: kube-apiserver-hibernated
namespace: shoot--fb28d21f90--sharding
namespace: shoot--timebertt--sharding
spec:
replicas: 0
template:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ metadata:
app: kubernetes
role: apiserver
name: kube-apiserver-null
namespace: shoot--fb28d21f90--sharding
namespace: shoot--timebertt--sharding
spec:
template:
spec:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ metadata:
app: kubernetes
role: apiserver
name: kube-apiserver-null
namespace: shoot--fb28d21f90--sharding
namespace: shoot--timebertt--sharding
spec:
replicas: 4
template:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,20 +12,20 @@ results:
- policy: kube-apiserver
rule: replicas
resource: kube-apiserver-awake
namespace: shoot--fb28d21f90--sharding
namespace: shoot--timebertt--sharding
kind: Deployment
result: pass
patchedResource: kube-apiserver-awake_expected.yaml
- policy: kube-apiserver
rule: replicas
resource: kube-apiserver-null
namespace: shoot--fb28d21f90--sharding
namespace: shoot--timebertt--sharding
kind: Deployment
result: pass
patchedResource: kube-apiserver-null_expected.yaml
- policy: kube-apiserver
rule: replicas
resource: kube-apiserver-hibernated
namespace: shoot--fb28d21f90--sharding
namespace: shoot--timebertt--sharding
kind: Deployment
result: skip
2 changes: 1 addition & 1 deletion webhosting-operator/shoot.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: core.gardener.cloud/v1beta1
kind: Shoot
metadata:
name: sharding
namespace: garden-fb28d21f90-99b0e
namespace: garden-timebertt
spec:
addons:
kubernetesDashboard:
Expand Down
6 changes: 3 additions & 3 deletions webhosting-operator/skaffold.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ deploy:
profiles:
- name: shoot
activation:
- kubeContext: .*fb28d21f90-99b0e--sharding.*
- kubeContext: .*timebertt--sharding.*
manifests:
kustomize:
paths:
Expand Down Expand Up @@ -91,7 +91,7 @@ profiles:
value: config/manager/shard
- name: shoot
activation:
- kubeContext: .*fb28d21f90-99b0e--sharding.*
- kubeContext: .*timebertt--sharding.*
patches:
- op: replace
path: /manifests/kustomize/paths/0
Expand Down Expand Up @@ -192,7 +192,7 @@ deploy:
profiles:
- name: shoot
activation:
- kubeContext: .*fb28d21f90-99b0e--sharding.*
- kubeContext: .*timebertt--sharding.*
manifests:
kustomize:
paths:
Expand Down

0 comments on commit dc76486

Please sign in to comment.