Skip to content

Commit

Permalink
fix: renamed lifecycle-operator
Browse files Browse the repository at this point in the history
Signed-off-by: realanna <anna.reale@dynatrace.com>
  • Loading branch information
RealAnna committed Mar 6, 2023
1 parent 9aac355 commit 1b4fd35
Show file tree
Hide file tree
Showing 31 changed files with 50 additions and 55 deletions.
32 changes: 16 additions & 16 deletions helm/chart/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ certificateOperator:
type: RuntimeDefault
image:
repository: ghcr.io/keptn/certificate-operator
tag: "202303061678111572"
tag: "202303061678114674"
imagePullPolicy: Always
livenessProbe:
httpGet:
Expand All @@ -39,17 +39,6 @@ certificateOperator:
topologySpreadConstraints: []
imagePullSecrets: []
kubernetesClusterDomain: cluster.local
lifecycleManagerConfig:
controllerManagerConfigYaml:
health:
healthProbeBindAddress: :8081
leaderElection:
leaderElect: true
resourceName: 6b866dd9.keptn.sh
metrics:
bindAddress: 127.0.0.1:8080
webhook:
port: 9443
lifecycleOperator:
manager:
containerSecurityContext:
Expand All @@ -73,10 +62,10 @@ lifecycleOperator:
keptnWorkloadControllerLogLevel: "0"
keptnWorkloadInstanceControllerLogLevel: "0"
optionsControllerLogLevel: "0"
otelCollectorUrl: "0"
otelCollectorUrl: otel-collector:4317
image:
repository: ghcr.io/keptn/lifecycle-operator
tag: "202303061678111572"
tag: "202303061678114674"
imagePullPolicy: Always
livenessProbe:
httpGet:
Expand Down Expand Up @@ -107,6 +96,17 @@ lifecycleWebhookService:
protocol: TCP
targetPort: 9443
type: ClusterIP
managerConfig:
controllerManagerConfigYaml:
health:
healthProbeBindAddress: :8081
leaderElection:
leaderElect: true
resourceName: 6b866dd9.keptn.sh
metrics:
bindAddress: 127.0.0.1:8080
webhook:
port: 9443
metricsManagerConfig:
controllerManagerConfigYaml:
health:
Expand All @@ -130,7 +130,7 @@ metricsOperator:
metricsControllerLogLevel: "0"
image:
repository: ghcr.io/keptn/metrics-operator
tag: "202303061678111572"
tag: "202303061678114674"
livenessProbe:
httpGet:
path: /healthz
Expand Down Expand Up @@ -193,7 +193,7 @@ scheduler:
otelCollectorUrl: otel-collector:4317
image:
repository: ghcr.io/keptn/scheduler
tag: "202303061678111572"
tag: "202303061678114674"
imagePullPolicy: Always
livenessProbe:
httpGet:
Expand Down
2 changes: 1 addition & 1 deletion klt-cert-manager/config/manager/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ kind: Kustomization
images:
- name: controller
newName: ghcr.io/keptn/certificate-operator
newTag: "202303061678111572"
newTag: "202303061678114674"
2 changes: 1 addition & 1 deletion metrics-operator/config/manager/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ kind: Kustomization
images:
- name: controller
newName: ghcr.io/keptn/metrics-operator
newTag: "202303061678111572"
newTag: "202303061678114674"
2 changes: 1 addition & 1 deletion metrics-operator/config/rendered/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -542,7 +542,7 @@ spec:
value: "true"
- name: METRICS_CONTROLLER_LOG_LEVEL
value: "0"
image: ghcr.io/keptn/metrics-operator:202303061678111572
image: ghcr.io/keptn/metrics-operator:202303061678114674
livenessProbe:
httpGet:
path: /healthz
Expand Down
2 changes: 1 addition & 1 deletion operator/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ help: ## Display this help.

.PHONY: manifests
manifests: controller-gen ## Generate WebhookConfiguration, ClusterRole and CustomResourceDefinition objects.
$(CONTROLLER_GEN) rbac:roleName=operator-role crd webhook paths="./..." output:crd:artifacts:config=config/crd/bases
$(CONTROLLER_GEN) rbac:roleName=lifecycle-operator-role crd paths="./..." output:crd:artifacts:config=config/crd/bases

.PHONY: generate
generate: controller-gen ## Generate code containing DeepCopy, DeepCopyInto, and DeepCopyObject method implementations.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ spec:
clientConfig:
service:
namespace: system
name: webhook-service
name: lifecycle-webhook-service
path: /convert
conversionReviewVersions:
- v1
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ spec:
clientConfig:
service:
namespace: system
name: webhook-service
name: lifecycle-webhook-service
path: /convert
conversionReviewVersions:
- v1
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ spec:
clientConfig:
service:
namespace: system
name: webhook-service
name: lifecycle-webhook-service
path: /convert
conversionReviewVersions:
- v1
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ spec:
clientConfig:
service:
namespace: system
name: webhook-service
name: lifecycle-webhook-service
path: /convert
conversionReviewVersions:
- v1
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ spec:
clientConfig:
service:
namespace: system
name: webhook-service
name: lifecycle-webhook-service
path: /convert
conversionReviewVersions:
- v1
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ spec:
clientConfig:
service:
namespace: system
name: webhook-service
name: lifecycle-webhook-service
path: /convert
conversionReviewVersions:
- v1
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ spec:
clientConfig:
service:
namespace: system
name: webhook-service
name: lifecycle-webhook-service
path: /convert
conversionReviewVersions:
- v1
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ spec:
clientConfig:
service:
namespace: system
name: webhook-service
name: lifecycle-webhook-service
path: /convert
conversionReviewVersions:
- v1
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ spec:
clientConfig:
service:
namespace: system
name: webhook-service
name: lifecycle-webhook-service
path: /convert
conversionReviewVersions:
- v1
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ spec:
clientConfig:
service:
namespace: system
name: webhook-service
name: lifecycle-webhook-service
path: /convert
conversionReviewVersions:
- v1
2 changes: 0 additions & 2 deletions operator/config/default/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
# Adds namespace to all resources.
namespace: keptn-lifecycle-toolkit-system

namePrefix: lifecycle-

bases:
- ../crd
- ../rbac
Expand Down
2 changes: 1 addition & 1 deletion operator/config/default/manager_config_patch.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: operator
name: lifecycle-operator
namespace: system
spec:
template:
Expand Down
2 changes: 1 addition & 1 deletion operator/config/default/webhooknamespaces_patch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
apiVersion: admissionregistration.k8s.io/v1
kind: MutatingWebhookConfiguration
metadata:
name: mutating-webhook-configuration
name: lifecycle-mutating-webhook-configuration
labels:
app.kubernetes.io/part-of: keptn-lifecycle-toolkit
# Add an exclusion rule for the Mutating Webhook since the operator pod will not be able to start since it's waiting for itself otherwise control-plane: controller-manager
Expand Down
2 changes: 1 addition & 1 deletion operator/config/manager/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ kind: Kustomization
images:
- name: controller
newName: ghcr.io/keptn/lifecycle-operator
newTag: "202303061678111572"
newTag: "202303061678114674"
4 changes: 1 addition & 3 deletions operator/config/manager/manager.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: operator
name: lifecycle-operator
namespace: system
labels:
app.kubernetes.io/part-of: keptn-lifecycle-toolkit
Expand Down Expand Up @@ -71,8 +71,6 @@ spec:
value: otel-collector:4317
- name: FUNCTION_RUNNER_IMAGE
value: ghcr.keptn.sh/keptn/functions-runtime:v0.6.0 #x-release-please-version
- name: OTEL_COLLECTOR_URL
value: "0"
- name: KEPTN_APP_CONTROLLER_LOG_LEVEL
value: "0"
- name: KEPTN_APP_VERSION_CONTROLLER_LOG_LEVEL
Expand Down
6 changes: 3 additions & 3 deletions operator/config/rbac/extra_role_binding.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
name: operator-rolebinding
name: lifecycle-operator-rolebinding
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: Role
name: operator-role
name: lifecycle-operator-role
subjects:
- kind: ServiceAccount
name: operator
name: lifecycle-operator
namespace: system
Empty file.
1 change: 0 additions & 1 deletion operator/config/rbac/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ resources:
- role.yaml
- role_binding.yaml
- extra_role_binding.yaml
- extra_roles.yaml
- leader_election_role.yaml
- leader_election_role_binding.yaml
# Comment the following 4 lines if you want to disable
Expand Down
2 changes: 1 addition & 1 deletion operator/config/rbac/leader_election_role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
apiVersion: rbac.authorization.k8s.io/v1
kind: Role
metadata:
name: operator-leader-election-role
name: lifecycle-operator-leader-election-role
rules:
- apiGroups:
- ""
Expand Down
6 changes: 3 additions & 3 deletions operator/config/rbac/leader_election_role_binding.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
name: operator-leader-election-rolebinding
name: lifecycle-operator-leader-election-rolebinding
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: Role
name: operator-leader-election-role
name: lifecycle-operator-leader-election-role
subjects:
- kind: ServiceAccount
name: operator
name: lifecycle-operator
namespace: system
2 changes: 1 addition & 1 deletion operator/config/rbac/role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
creationTimestamp: null
name: operator-role
name: lifecycle-operator-role
rules:
- apiGroups:
- apps
Expand Down
6 changes: 3 additions & 3 deletions operator/config/rbac/role_binding.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: operator-rolebinding
name: lifecycle-operator-rolebinding
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: operator-role
name: lifecycle-operator-role
subjects:
- kind: ServiceAccount
name: operator
name: lifecycle-operator
namespace: system
2 changes: 1 addition & 1 deletion operator/config/rbac/service_account.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
apiVersion: v1
kind: ServiceAccount
metadata:
name: operator
name: lifecycle-operator
namespace: system
4 changes: 2 additions & 2 deletions operator/config/webhook/manifests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@ apiVersion: admissionregistration.k8s.io/v1
kind: MutatingWebhookConfiguration
metadata:
creationTimestamp: null
name: mutating-webhook-configuration
name: lifecycle-mutating-webhook-configuration
webhooks:
- admissionReviewVersions:
- v1
clientConfig:
service:
name: webhook-service
name: lifecycle-webhook-service
namespace: system
path: /mutate-v1-pod
failurePolicy: Fail
Expand Down
2 changes: 1 addition & 1 deletion operator/config/webhook/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
apiVersion: v1
kind: Service
metadata:
name: webhook-service
name: lifecycle-webhook-service
namespace: system
spec:
ports:
Expand Down
2 changes: 1 addition & 1 deletion scheduler/manifests/install/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ kind: Kustomization
images:
- name: scheduler
newName: ghcr.io/keptn/scheduler
newTag: "202303061678111572"
newTag: "202303061678114674"

0 comments on commit 1b4fd35

Please sign in to comment.