From ff5951f67bfb15ba50258498cb28a29c70c22394 Mon Sep 17 00:00:00 2001 From: root Date: Sun, 12 Jan 2025 17:17:40 +0100 Subject: [PATCH] w1 --- btp-manager.yaml | 301 ------------------- btp-manager.yaml:Zone.Identifier | 3 - btp-operator-default-cr.yaml | 12 - btp-operator-default-cr.yaml:Zone.Identifier | 3 - cfg.yaml | 20 -- k.yaml | 23 -- k2.yaml | 23 -- prerequisites.yaml | 5 - test-secret.yaml | 14 - x.yaml | 23 -- 10 files changed, 427 deletions(-) delete mode 100644 btp-manager.yaml delete mode 100644 btp-manager.yaml:Zone.Identifier delete mode 100644 btp-operator-default-cr.yaml delete mode 100644 btp-operator-default-cr.yaml:Zone.Identifier delete mode 100644 cfg.yaml delete mode 100644 k.yaml delete mode 100644 k2.yaml delete mode 100644 prerequisites.yaml delete mode 100644 test-secret.yaml delete mode 100644 x.yaml diff --git a/btp-manager.yaml b/btp-manager.yaml deleted file mode 100644 index 2b7069fed..000000000 --- a/btp-manager.yaml +++ /dev/null @@ -1,301 +0,0 @@ -apiVersion: apiextensions.k8s.io/v1 -kind: CustomResourceDefinition -metadata: - annotations: - controller-gen.kubebuilder.io/version: v0.16.1 - labels: - app.kubernetes.io/component: btp-manager.kyma-project.io - name: btpoperators.operator.kyma-project.io -spec: - group: operator.kyma-project.io - names: - categories: - - kyma-modules - - kyma-btp-operator - kind: BtpOperator - listKind: BtpOperatorList - plural: btpoperators - singular: btpoperator - scope: Namespaced - versions: - - additionalPrinterColumns: - - jsonPath: .status.state - name: State - type: string - name: v1alpha1 - schema: - openAPIV3Schema: - description: BtpOperator is the Schema for the btpoperators API - properties: - apiVersion: - description: |- - APIVersion defines the versioned schema of this representation of an object. - Servers should convert recognized schemas to the latest internal value, and - may reject unrecognized values. - More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - type: string - kind: - description: |- - Kind is a string value representing the REST resource this object represents. - Servers may infer this from the endpoint the client submits requests to. - Cannot be updated. - In CamelCase. - More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - type: string - metadata: - type: object - spec: - description: BtpOperatorSpec defines the desired state of BtpOperator - nullable: true - type: object - status: - description: Status defines the observed state of CustomObject. - properties: - conditions: - description: Conditions associated with CustomStatus. - items: - description: Condition contains details for one aspect of the current - state of this API Resource. - properties: - lastTransitionTime: - description: |- - lastTransitionTime is the last time the condition transitioned from one status to another. - This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable. - format: date-time - type: string - message: - description: |- - message is a human readable message indicating details about the transition. - This may be an empty string. - maxLength: 32768 - type: string - observedGeneration: - description: |- - observedGeneration represents the .metadata.generation that the condition was set based upon. - For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date - with respect to the current state of the instance. - format: int64 - minimum: 0 - type: integer - reason: - description: |- - reason contains a programmatic identifier indicating the reason for the condition's last transition. - Producers of specific condition types may define expected values and meanings for this field, - and whether the values are considered a guaranteed API. - The value should be a CamelCase string. - This field may not be empty. - maxLength: 1024 - minLength: 1 - pattern: ^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$ - type: string - status: - description: status of the condition, one of True, False, Unknown. - enum: - - "True" - - "False" - - Unknown - type: string - type: - description: type of condition in CamelCase or in foo.example.com/CamelCase. - maxLength: 316 - pattern: ^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$ - type: string - required: - - lastTransitionTime - - message - - reason - - status - - type - type: object - type: array - state: - description: |- - State signifies current state of CustomObject. - Value can be one of ("Ready", "Processing", "Error", "Deleting", "Warning"). - enum: - - Processing - - Deleting - - Ready - - Error - - Warning - type: string - required: - - state - type: object - type: object - served: true - storage: true - subresources: - status: {} ---- -apiVersion: v1 -kind: ServiceAccount -metadata: - labels: - app.kubernetes.io/component: btp-manager.kyma-project.io - name: btp-manager-controller-manager - namespace: kyma-system ---- -apiVersion: rbac.authorization.k8s.io/v1 -kind: Role -metadata: - labels: - app.kubernetes.io/component: btp-manager.kyma-project.io - name: btp-manager-leader-election-role - namespace: kyma-system -rules: -- apiGroups: - - "" - resources: - - configmaps - verbs: - - get - - list - - watch - - create - - update - - patch - - delete -- apiGroups: - - coordination.k8s.io - resources: - - leases - verbs: - - get - - list - - watch - - create - - update - - patch - - delete -- apiGroups: - - "" - resources: - - events - verbs: - - create - - patch ---- -apiVersion: rbac.authorization.k8s.io/v1 -kind: ClusterRole -metadata: - labels: - app.kubernetes.io/component: btp-manager.kyma-project.io - name: btp-manager-manager-role -rules: -- apiGroups: - - "" - resources: - - configmaps - - secrets - - serviceaccounts - - services - verbs: - - '*' -- apiGroups: - - "" - resources: - - namespaces - verbs: - - get - - list - - watch -- apiGroups: - - admissionregistration.k8s.io - resources: - - mutatingwebhookconfigurations - - validatingwebhookconfigurations - verbs: - - '*' -- apiGroups: - - apiextensions.k8s.io - resources: - - customresourcedefinitions - verbs: - - '*' -- apiGroups: - - apps - resources: - - deployments - verbs: - - '*' -- apiGroups: - - operator.kyma-project.io - resources: - - btpoperators - - btpoperators/status - verbs: - - '*' -- apiGroups: - - rbac.authorization.k8s.io - resources: - - clusterrolebindings - - clusterroles - - rolebindings - - roles - verbs: - - '*' -- apiGroups: - - services.cloud.sap.com - resources: - - servicebindings - - serviceinstances - verbs: - - '*' ---- -apiVersion: rbac.authorization.k8s.io/v1 -kind: RoleBinding -metadata: - labels: - app.kubernetes.io/component: btp-manager.kyma-project.io - name: btp-manager-leader-election-rolebinding - namespace: kyma-system -roleRef: - apiGroup: rbac.authorization.k8s.io - kind: Role - name: btp-manager-leader-election-role -subjects: -- kind: ServiceAccount - name: btp-manager-controller-manager - namespace: kyma-system ---- -apiVersion: rbac.authorization.k8s.io/v1 -kind: ClusterRoleBinding -metadata: - labels: - app.kubernetes.io/component: btp-manager.kyma-project.io - name: btp-manager-manager-rolebinding -roleRef: - apiGroup: rbac.authorization.k8s.io - kind: ClusterRole - name: btp-manager-manager-role -subjects: -- kind: ServiceAccount - name: btp-manager-controller-manager - namespace: kyma-system ---- -apiVersion: v1 -kind: Service -metadata: - labels: - app.kubernetes.io/component: btp-manager.kyma-project.io - name: btp-manager-metrics-service - namespace: kyma-system -spec: - ports: - - name: http - port: 8080 - targetPort: http - selector: - app.kubernetes.io/component: btp-manager.kyma-project.io ---- -apiVersion: scheduling.k8s.io/v1 -description: Scheduling priority of the btp-operator module. Must not be blocked by - unschedulable user workloads. -globalDefault: false -kind: PriorityClass -metadata: - labels: - app.kubernetes.io/component: btp-manager.kyma-project.io - name: btp-manager-kyma-priority -value: 2100000 \ No newline at end of file diff --git a/btp-manager.yaml:Zone.Identifier b/btp-manager.yaml:Zone.Identifier deleted file mode 100644 index 1bf0b28e7..000000000 --- a/btp-manager.yaml:Zone.Identifier +++ /dev/null @@ -1,3 +0,0 @@ -[ZoneTransfer] -ZoneId=3 -HostUrl=https://github.com/ diff --git a/btp-operator-default-cr.yaml b/btp-operator-default-cr.yaml deleted file mode 100644 index f70dfb290..000000000 --- a/btp-operator-default-cr.yaml +++ /dev/null @@ -1,12 +0,0 @@ -apiVersion: operator.kyma-project.io/v1alpha1 -kind: BtpOperator -metadata: - labels: - app.kubernetes.io/name: btpoperator - app.kubernetes.io/instance: btpoperator - app.kubernetes.io/part-of: btp-manager - app.kubernetes.io/managed-by: btp-manager - app.kubernetes.io/created-by: btp-manager - name: btpoperator -spec: - # TODO(user): Add fields here diff --git a/btp-operator-default-cr.yaml:Zone.Identifier b/btp-operator-default-cr.yaml:Zone.Identifier deleted file mode 100644 index 1bf0b28e7..000000000 --- a/btp-operator-default-cr.yaml:Zone.Identifier +++ /dev/null @@ -1,3 +0,0 @@ -[ZoneTransfer] -ZoneId=3 -HostUrl=https://github.com/ diff --git a/cfg.yaml b/cfg.yaml deleted file mode 100644 index 70d4c2725..000000000 --- a/cfg.yaml +++ /dev/null @@ -1,20 +0,0 @@ ---- -apiVersion: v1 -clusters: -- cluster: - certificate-authority-data: LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUJlRENDQVIyZ0F3SUJBZ0lCQURBS0JnZ3Foa2pPUFFRREFqQWpNU0V3SHdZRFZRUUREQmhyTTNNdGMyVnkKZG1WeUxXTmhRREUzTXpZMk16STROVGt3SGhjTk1qVXdNVEV4TWpJd01EVTVXaGNOTXpVd01UQTVNakl3TURVNQpXakFqTVNFd0h3WURWUVFEREJock0zTXRjMlZ5ZG1WeUxXTmhRREUzTXpZMk16STROVGt3V1RBVEJnY3Foa2pPClBRSUJCZ2dxaGtqT1BRTUJCd05DQUFSNUFnR1I3aXo2Nmw1NFBSOHZHYzUrYTR2UmVzV0hEUDVqb3o5WmI2ZUsKbFptdVhzUnlENFJFSUtRelBHVEpmSlluWStyMC9uT2o5dzUvQTN2NFdHNGxvMEl3UURBT0JnTlZIUThCQWY4RQpCQU1DQXFRd0R3WURWUjBUQVFIL0JBVXdBd0VCL3pBZEJnTlZIUTRFRmdRVWx6OUROVStoNDVtSG95WnFjSU1BCk9CR0dxd1l3Q2dZSUtvWkl6ajBFQXdJRFNRQXdSZ0loQU9GYmNWSi9PREZ6UmZrd3YvOVlpZUx6WUdJQk9sTnYKM1lpdGpWVmwxQ2plQWlFQXBiRWFJZmt6YmtPclE4YUZLQ3R2dWsvVWZORlA1Q2xEWjJrRmk4UlpLanM9Ci0tLS0tRU5EIENFUlRJRklDQVRFLS0tLS0K - server: https://0.0.0.0:42391 - name: k3d-ttt -contexts: -- context: - cluster: k3d-ttt - user: admin@k3d-ttt - name: k3d-ttt -current-context: k3d-ttt -kind: Config -preferences: {} -users: -- name: admin@k3d-ttt - user: - client-certificate-data: LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUJrakNDQVRlZ0F3SUJBZ0lJV2RMUWczTG12VW93Q2dZSUtvWkl6ajBFQXdJd0l6RWhNQjhHQTFVRUF3d1kKYXpOekxXTnNhV1Z1ZEMxall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l4OXh5RHJXRTdyMlZzYmhjVnFPakptY1V3bzBJd1FEQU9CZ05WSFE4QkFmOEUKQkFNQ0FxUXdEd1lEVlIwVEFRSC9CQVV3QXdFQi96QWRCZ05WSFE0RUZnUVV1aU5meEMvdlVFWnRBemxWZGM1NwpkRmNWU1FFd0NnWUlLb1pJemowRUF3SURTUUF3UmdJaEFQV21UUEhjOEpDVFVRelY3ZnY3enpBVzI2MkpwbEJVCk1EN09VY0g2c2o0MUFpRUE2NGRDSkJVV3pHM1d6RW1JSkpRU0F6djFMeTByb0xBTlM0cTBnbFIrSDdNPQotLS0tLUVORCBDRVJUSUZJQ0FURS0tLS0tCg== - client-key-data: LS0tLS1CRUdJTiBFQyBQUklWQVRFIEtFWS0tLS0tCk1IY0NBUUVFSUEwSERGQWRkWmM1OURialduNk5MNEZXU2VxaVY2ZXkranA1cnVVcEoyMlFvQW9HQ0NxR1NNNDkKQXdFSG9VUURRZ0FFQmg5YW1aZlhzSzMvenhmTUZtVGk1VldUa3lWSzVmUXE4T00rMlllbEROa1JKOEs0d0FQdwpnbUZxdTB5SlM5L3V1Ly9heGdDRVJNdFArMWVHQWVYQnVRPT0KLS0tLS1FTkQgRUMgUFJJVkFURSBLRVktLS0tLQo= diff --git a/k.yaml b/k.yaml deleted file mode 100644 index 52293d739..000000000 --- a/k.yaml +++ /dev/null @@ -1,23 +0,0 @@ -Manage cluster(s) - -Usage: - k3d cluster [flags] - k3d cluster [command] - -Available Commands: - create Create a new cluster - delete Delete cluster(s). - edit [EXPERIMENTAL] Edit cluster(s). - list List cluster(s) - start Start existing k3d cluster(s) - stop Stop existing k3d cluster(s) - -Flags: - -h, --help help for cluster - -Global Flags: - --timestamps Enable Log timestamps - --trace Enable super verbose output (trace logging) - --verbose Enable verbose output (debug logging) - -Use "k3d cluster [command] --help" for more information about a command. diff --git a/k2.yaml b/k2.yaml deleted file mode 100644 index 52293d739..000000000 --- a/k2.yaml +++ /dev/null @@ -1,23 +0,0 @@ -Manage cluster(s) - -Usage: - k3d cluster [flags] - k3d cluster [command] - -Available Commands: - create Create a new cluster - delete Delete cluster(s). - edit [EXPERIMENTAL] Edit cluster(s). - list List cluster(s) - start Start existing k3d cluster(s) - stop Stop existing k3d cluster(s) - -Flags: - -h, --help help for cluster - -Global Flags: - --timestamps Enable Log timestamps - --trace Enable super verbose output (trace logging) - --verbose Enable verbose output (debug logging) - -Use "k3d cluster [command] --help" for more information about a command. diff --git a/prerequisites.yaml b/prerequisites.yaml deleted file mode 100644 index df38e96cc..000000000 --- a/prerequisites.yaml +++ /dev/null @@ -1,5 +0,0 @@ -kind: Namespace -apiVersion: v1 -metadata: - name: kyma-system - diff --git a/test-secret.yaml b/test-secret.yaml deleted file mode 100644 index 43a30b501..000000000 --- a/test-secret.yaml +++ /dev/null @@ -1,14 +0,0 @@ -apiVersion: v1 -kind: Secret -type: Opaque -metadata: - name: sap-btp-manager - namespace: kyma-system - labels: - app.kubernetes.io/managed-by: kcp-kyma-environment-broker -data: - clientid: dGVzdF9jbGllbnRpZA== - clientsecret: dGVzdF9jbGllbnRzZWNyZXQ= - sm_url: dGVzdF9zbV91cmw= - tokenurl: dGVzdF90b2tlbnVybA== - cluster_id: dGVzdF9jbHVzdGVyX2lk diff --git a/x.yaml b/x.yaml deleted file mode 100644 index 52293d739..000000000 --- a/x.yaml +++ /dev/null @@ -1,23 +0,0 @@ -Manage cluster(s) - -Usage: - k3d cluster [flags] - k3d cluster [command] - -Available Commands: - create Create a new cluster - delete Delete cluster(s). - edit [EXPERIMENTAL] Edit cluster(s). - list List cluster(s) - start Start existing k3d cluster(s) - stop Stop existing k3d cluster(s) - -Flags: - -h, --help help for cluster - -Global Flags: - --timestamps Enable Log timestamps - --trace Enable super verbose output (trace logging) - --verbose Enable verbose output (debug logging) - -Use "k3d cluster [command] --help" for more information about a command.