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 7, 2023
1 parent af5ebd1 commit f50365f
Show file tree
Hide file tree
Showing 16 changed files with 21 additions and 23 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
6 changes: 2 additions & 4 deletions 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 All @@ -19,8 +19,6 @@ spec:
location: Europe/Berlin
kubernetes:
enableStaticTokenKubeconfig: false
kubeAPIServer:
enableBasicAuthentication: false
kubeControllerManager:
nodeCIDRMaskSize: 20
kubeProxy:
Expand Down Expand Up @@ -125,4 +123,4 @@ spec:
- eu01-2
purpose: development
region: RegionOne
secretBindingName: cq12kuc8ir
secretBindingName: timebertt
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 f50365f

Please sign in to comment.