Coder Social home page Coder Social logo

fintechstudios / ververica-platform-k8s-operator Goto Github PK

View Code? Open in Web Editor NEW
34.0 1.0 13.0 914 KB

Kubernetes Operator for the Ververica Platform

Home Page: https://flink-packages.org/packages/ververica-platform-k8s-operator

License: Apache License 2.0

Dockerfile 0.50% Makefile 1.80% Go 96.05% Shell 0.78% HTML 0.87%
ververica-platform k8s k8s-controller crds helm k8s-operator golang

ververica-platform-k8s-operator's People

Contributors

austince avatar dependabot-preview[bot] avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

ververica-platform-k8s-operator's Issues

Dependabot can't resolve your Go dependency files

Dependabot can't resolve your Go dependency files.

As a result, Dependabot couldn't update your dependencies.

The error Dependabot encountered was:

github.com/fintechstudios/ververica-platform-k8s-operator/api/v1beta1: cannot find module providing package github.com/fintechstudios/ververica-platform-k8s-operator/api/v1beta1
github.com/fintechstudios/ververica-platform-k8s-operator imports
	github.com/fintechstudios/ververica-platform-k8s-operator/api/v1beta2: cannot find module providing package github.com/fintechstudios/ververica-platform-k8s-operator/api/v1beta2
github.com/fintechstudios/ververica-platform-k8s-operator imports
	github.com/fintechstudios/ververica-platform-k8s-operator/controllers: cannot find module providing package github.com/fintechstudios/ververica-platform-k8s-operator/controllers
github.com/fintechstudios/ververica-platform-k8s-operator imports
	github.com/fintechstudios/ververica-platform-k8s-operator/pkg/vvp/appmanager: cannot find module providing package github.com/fintechstudios/ververica-platform-k8s-operator/pkg/vvp/appmanager
github.com/fintechstudios/ververica-platform-k8s-operator imports
	github.com/fintechstudios/ververica-platform-k8s-operator/pkg/vvp/appmanager-api: cannot find module providing package github.com/fintechstudios/ververica-platform-k8s-operator/pkg/vvp/appmanager-api
github.com/fintechstudios/ververica-platform-k8s-operator imports
	github.com/fintechstudios/ververica-platform-k8s-operator/pkg/vvp/platform: cannot find module providing package github.com/fintechstudios/ververica-platform-k8s-operator/pkg/vvp/platform
github.com/fintechstudios/ververica-platform-k8s-operator imports
	github.com/fintechstudios/ververica-platform-k8s-operator/pkg/vvp/platform-api: cannot find module providing package github.com/fintechstudios/ververica-platform-k8s-operator/pkg/vvp/platform-api
github.com/fintechstudios/ververica-platform-k8s-operator imports
	sigs.k8s.io/controller-runtime imports
	sigs.k8s.io/controller-runtime/pkg/manager imports
	k8s.io/client-go/kubernetes/scheme imports
	k8s.io/api/auditregistration/v1alpha1: cannot find module providing package k8s.io/api/auditregistration/v1alpha1
github.com/fintechstudios/ververica-platform-k8s-operator imports
	sigs.k8s.io/controller-runtime imports
	sigs.k8s.io/controller-runtime/pkg/manager imports
	k8s.io/client-go/kubernetes/scheme imports
	k8s.io/api/settings/v1alpha1: cannot find module providing package k8s.io/api/settings/v1alpha1
github.com/fintechstudios/ververica-platform-k8s-operator imports
	sigs.k8s.io/controller-runtime imports
	sigs.k8s.io/controller-runtime/pkg/builder imports
	sigs.k8s.io/controller-runtime/pkg/client/apiutil imports
	k8s.io/client-go/discovery imports
	github.com/googleapis/gnostic/OpenAPIv2: cannot find module providing package github.com/googleapis/gnostic/OpenAPIv2

If you think the above is an error on Dependabot's side please don't hesitate to get in touch - we'll do whatever we can to fix it.

View the update logs.

Dependabot can't resolve your Go dependency files

Dependabot can't resolve your Go dependency files.

As a result, Dependabot couldn't update your dependencies.

The error Dependabot encountered was:

github.com/fintechstudios/ververica-platform-k8s-operator/api/v1beta1: cannot find module providing package github.com/fintechstudios/ververica-platform-k8s-operator/api/v1beta1
	github.com/fintechstudios/ververica-platform-k8s-operator/api/v1beta2: cannot find module providing package github.com/fintechstudios/ververica-platform-k8s-operator/api/v1beta2
	github.com/fintechstudios/ververica-platform-k8s-operator/controllers: cannot find module providing package github.com/fintechstudios/ververica-platform-k8s-operator/controllers
	github.com/fintechstudios/ververica-platform-k8s-operator/pkg/vvp/appmanager: cannot find module providing package github.com/fintechstudios/ververica-platform-k8s-operator/pkg/vvp/appmanager
	github.com/fintechstudios/ververica-platform-k8s-operator/pkg/vvp/appmanager-api: cannot find module providing package github.com/fintechstudios/ververica-platform-k8s-operator/pkg/vvp/appmanager-api
	github.com/fintechstudios/ververica-platform-k8s-operator/pkg/vvp/platform: cannot find module providing package github.com/fintechstudios/ververica-platform-k8s-operator/pkg/vvp/platform
	github.com/fintechstudios/ververica-platform-k8s-operator/pkg/vvp/platform-api: cannot find module providing package github.com/fintechstudios/ververica-platform-k8s-operator/pkg/vvp/platform-api
	k8s.io/api/auditregistration/v1alpha1: cannot find module providing package k8s.io/api/auditregistration/v1alpha1
	k8s.io/api/settings/v1alpha1: cannot find module providing package k8s.io/api/settings/v1alpha1
	github.com/googleapis/gnostic/OpenAPIv2: cannot find module providing package github.com/googleapis/gnostic/OpenAPIv2

If you think the above is an error on Dependabot's side please don't hesitate to get in touch - we'll do whatever we can to fix it.

View the update logs.

Add support to manage multiple ververica instances

Hello,

First off, nice project!
I tried a sample deployment of it and it works nicely for one instance. Would it be possible to adjust the operator so it works/calls the api of multiple ververica instances depending on the namespace the custom resources are deployed in?

Describe the solution you'd like

Currently the deployment pattern for this operator assumes only one instance is going to be managed by it. The --vvp-url expects one value and the api token env vars will most likely point to only one value as well.
Would it be possible to add a new parameter/change the existing one so multiple instances can be managed by this operator?
I imagine you'd have to 1) accept multiple urls to manage as an argument, 2) accept their version type (community/enterprise) and 3) an optional token per instance configured? This could be easily parsed from a config file perhaps.

The other bit that might be confusing is, if a VpDeployment shows up in a namespace, which ververica instance would that be deployed too? The easiest path forwards could be just deploy to the instance that lives in the same namespace as the custom resource?

Describe alternatives you've considered

I've also considered deploying this operator multiple times (once per instance of ververica) but that would entail modifying the CRD group.name per instance so they don't conflict and set the webhook.servicename to the name of each operator deployed. And then recompiling the operator each time to change the hardcoded group name in the code. OR set that group name as a flag that can be changed? It seems like a hack though and having one operator for all instances would be ideal.

What do you think?

Dependabot can't resolve your Go dependency files

Dependabot can't resolve your Go dependency files.

As a result, Dependabot couldn't update your dependencies.

The error Dependabot encountered was:

github.com/fintechstudios/ververica-platform-k8s-operator/api/v1beta1: cannot find module providing package github.com/fintechstudios/ververica-platform-k8s-operator/api/v1beta1
	github.com/fintechstudios/ververica-platform-k8s-operator/api/v1beta2: cannot find module providing package github.com/fintechstudios/ververica-platform-k8s-operator/api/v1beta2
	github.com/fintechstudios/ververica-platform-k8s-operator/controllers: cannot find module providing package github.com/fintechstudios/ververica-platform-k8s-operator/controllers
	github.com/fintechstudios/ververica-platform-k8s-operator/pkg/vvp/appmanager: cannot find module providing package github.com/fintechstudios/ververica-platform-k8s-operator/pkg/vvp/appmanager
	github.com/fintechstudios/ververica-platform-k8s-operator/pkg/vvp/appmanager-api: cannot find module providing package github.com/fintechstudios/ververica-platform-k8s-operator/pkg/vvp/appmanager-api
	github.com/fintechstudios/ververica-platform-k8s-operator/pkg/vvp/platform: cannot find module providing package github.com/fintechstudios/ververica-platform-k8s-operator/pkg/vvp/platform
	github.com/fintechstudios/ververica-platform-k8s-operator/pkg/vvp/platform-api: cannot find module providing package github.com/fintechstudios/ververica-platform-k8s-operator/pkg/vvp/platform-api
	github.com/googleapis/gnostic/OpenAPIv2: cannot find module providing package github.com/googleapis/gnostic/OpenAPIv2

If you think the above is an error on Dependabot's side please don't hesitate to get in touch - we'll do whatever we can to fix it.

View the update logs.

Dependabot can't resolve your Go dependency files

Dependabot can't resolve your Go dependency files.

As a result, Dependabot couldn't update your dependencies.

The error Dependabot encountered was:

github.com/fintechstudios/ververica-platform-k8s-operator/api/v1beta1: cannot find module providing package github.com/fintechstudios/ververica-platform-k8s-operator/api/v1beta1
	github.com/fintechstudios/ververica-platform-k8s-operator/api/v1beta2: cannot find module providing package github.com/fintechstudios/ververica-platform-k8s-operator/api/v1beta2
	github.com/fintechstudios/ververica-platform-k8s-operator/controllers: cannot find module providing package github.com/fintechstudios/ververica-platform-k8s-operator/controllers
	github.com/fintechstudios/ververica-platform-k8s-operator/pkg/vvp/appmanager: cannot find module providing package github.com/fintechstudios/ververica-platform-k8s-operator/pkg/vvp/appmanager
	github.com/fintechstudios/ververica-platform-k8s-operator/pkg/vvp/appmanager-api: cannot find module providing package github.com/fintechstudios/ververica-platform-k8s-operator/pkg/vvp/appmanager-api
	github.com/fintechstudios/ververica-platform-k8s-operator/pkg/vvp/platform: cannot find module providing package github.com/fintechstudios/ververica-platform-k8s-operator/pkg/vvp/platform
	github.com/fintechstudios/ververica-platform-k8s-operator/pkg/vvp/platform-api: cannot find module providing package github.com/fintechstudios/ververica-platform-k8s-operator/pkg/vvp/platform-api
	github.com/googleapis/gnostic/OpenAPIv2: cannot find module providing package github.com/googleapis/gnostic/OpenAPIv2

If you think the above is an error on Dependabot's side please don't hesitate to get in touch - we'll do whatever we can to fix it.

View the update logs.

Add Links to Pods and Services

Is your feature request related to a problem? Please describe.

When managing VpDeployments using just kubectl, it's often difficult to see which pods/ services are related to which deployments/ jobs.

Describe the solution you'd like

Pods and Services, which already have the deployment and job id as labels, should be attached to the VpDeployment objects so that they can be seen through kubectl describe vpdeployment/{name} etc. This may be possible with the Owns functionality in Kubebuilder.

Describe alternatives you've considered

Using small scripts to figure out the linking works but is not an ideal workflow.

Add support for CronDeployments

Is your feature request related to a problem? Please describe.

No.

Describe the solution you'd like

Some streaming/ batch jobs are intended to be run on a schedule. It would be nice to be able to use a similar API to the k8s CronJob for scheduling recurring VVP deployments.

Describe alternatives you've considered

  • A CI cronjob that runs on a similar schedule and submits manifests to k8s.
  • A k8s CronJob that does the same

Additional context

A CronJob is actually the demo controller in the official kubebuilder tutorial: https://kubebuilder.io/cronjob-tutorial/cronjob-tutorial.html

Dependabot can't resolve your Go dependency files

Dependabot can't resolve your Go dependency files.

As a result, Dependabot couldn't update your dependencies.

The error Dependabot encountered was:

github.com/fintechstudios/ververica-platform-k8s-operator/api/v1beta1: cannot find module providing package github.com/fintechstudios/ververica-platform-k8s-operator/api/v1beta1
	github.com/fintechstudios/ververica-platform-k8s-operator/api/v1beta2: cannot find module providing package github.com/fintechstudios/ververica-platform-k8s-operator/api/v1beta2
	github.com/fintechstudios/ververica-platform-k8s-operator/controllers: cannot find module providing package github.com/fintechstudios/ververica-platform-k8s-operator/controllers
	github.com/fintechstudios/ververica-platform-k8s-operator/pkg/vvp/appmanager: cannot find module providing package github.com/fintechstudios/ververica-platform-k8s-operator/pkg/vvp/appmanager
	github.com/fintechstudios/ververica-platform-k8s-operator/pkg/vvp/appmanager-api: cannot find module providing package github.com/fintechstudios/ververica-platform-k8s-operator/pkg/vvp/appmanager-api
	github.com/fintechstudios/ververica-platform-k8s-operator/pkg/vvp/platform: cannot find module providing package github.com/fintechstudios/ververica-platform-k8s-operator/pkg/vvp/platform
	github.com/fintechstudios/ververica-platform-k8s-operator/pkg/vvp/platform-api: cannot find module providing package github.com/fintechstudios/ververica-platform-k8s-operator/pkg/vvp/platform-api
	github.com/googleapis/gnostic/OpenAPIv2: cannot find module providing package github.com/googleapis/gnostic/OpenAPIv2

If you think the above is an error on Dependabot's side please don't hesitate to get in touch - we'll do whatever we can to fix it.

View the update logs.

Dependabot can't resolve your Go dependency files

Dependabot can't resolve your Go dependency files.

As a result, Dependabot couldn't update your dependencies.

The error Dependabot encountered was:

gomodules.xyz/jsonpatch/[email protected]: unrecognized import path "gomodules.xyz/jsonpatch/v2" (parse https://gomodules.xyz/jsonpatch/v2?go-get=1: no go-import meta tags ())

If you think the above is an error on Dependabot's side please don't hesitate to get in touch - we'll do whatever we can to fix it.

View the update logs.

Dependabot can't resolve your Go dependency files

Dependabot can't resolve your Go dependency files.

As a result, Dependabot couldn't update your dependencies.

The error Dependabot encountered was:

github.com/fintechstudios/ververica-platform-k8s-operator/api/v1beta1: cannot find module providing package github.com/fintechstudios/ververica-platform-k8s-operator/api/v1beta1
	github.com/fintechstudios/ververica-platform-k8s-operator/api/v1beta2: cannot find module providing package github.com/fintechstudios/ververica-platform-k8s-operator/api/v1beta2
	github.com/fintechstudios/ververica-platform-k8s-operator/controllers: cannot find module providing package github.com/fintechstudios/ververica-platform-k8s-operator/controllers
	github.com/fintechstudios/ververica-platform-k8s-operator/pkg/vvp/appmanager: cannot find module providing package github.com/fintechstudios/ververica-platform-k8s-operator/pkg/vvp/appmanager
	github.com/fintechstudios/ververica-platform-k8s-operator/pkg/vvp/appmanager-api: cannot find module providing package github.com/fintechstudios/ververica-platform-k8s-operator/pkg/vvp/appmanager-api
	github.com/fintechstudios/ververica-platform-k8s-operator/pkg/vvp/platform: cannot find module providing package github.com/fintechstudios/ververica-platform-k8s-operator/pkg/vvp/platform
	github.com/fintechstudios/ververica-platform-k8s-operator/pkg/vvp/platform-api: cannot find module providing package github.com/fintechstudios/ververica-platform-k8s-operator/pkg/vvp/platform-api
	k8s.io/api/auditregistration/v1alpha1: cannot find module providing package k8s.io/api/auditregistration/v1alpha1
	k8s.io/api/batch/v2alpha1: cannot find module providing package k8s.io/api/batch/v2alpha1
	k8s.io/api/discovery/v1alpha1: cannot find module providing package k8s.io/api/discovery/v1alpha1
	k8s.io/api/settings/v1alpha1: cannot find module providing package k8s.io/api/settings/v1alpha1
	github.com/googleapis/gnostic/OpenAPIv2: cannot find module providing package github.com/googleapis/gnostic/OpenAPIv2

If you think the above is an error on Dependabot's side please don't hesitate to get in touch - we'll do whatever we can to fix it.

View the update logs.

Add OpenID Connect (OIDC) Authentication Support

Will have to periodically fetch a token from a specified authentication provider to hook into the Ververica Platform's authentication. Will likely involve adding a/ refactoring the auth_store in /controllers/appmanager to create authenticated contexts from a token fetched from OIDC, as well as adding CLI flags/ env variables for those credentials.

May not be possible to tie OIDC to Vp API Tokens 1:1. Although might be possible if we created namespaces with only the user instead of system:authenticated?

This is a necessary requirement for working interoperably with the suggested production setup from Ververica.

Dependabot can't resolve your Go dependency files

Dependabot can't resolve your Go dependency files.

As a result, Dependabot couldn't update your dependencies.

The error Dependabot encountered was:

github.com/fintechstudios/ververica-platform-k8s-operator/api/v1beta1: cannot find module providing package github.com/fintechstudios/ververica-platform-k8s-operator/api/v1beta1
github.com/fintechstudios/ververica-platform-k8s-operator imports
	github.com/fintechstudios/ververica-platform-k8s-operator/api/v1beta2: cannot find module providing package github.com/fintechstudios/ververica-platform-k8s-operator/api/v1beta2
github.com/fintechstudios/ververica-platform-k8s-operator imports
	github.com/fintechstudios/ververica-platform-k8s-operator/controllers: cannot find module providing package github.com/fintechstudios/ververica-platform-k8s-operator/controllers
github.com/fintechstudios/ververica-platform-k8s-operator imports
	github.com/fintechstudios/ververica-platform-k8s-operator/pkg/vvp/appmanager: cannot find module providing package github.com/fintechstudios/ververica-platform-k8s-operator/pkg/vvp/appmanager
github.com/fintechstudios/ververica-platform-k8s-operator imports
	github.com/fintechstudios/ververica-platform-k8s-operator/pkg/vvp/appmanager-api: cannot find module providing package github.com/fintechstudios/ververica-platform-k8s-operator/pkg/vvp/appmanager-api
github.com/fintechstudios/ververica-platform-k8s-operator imports
	github.com/fintechstudios/ververica-platform-k8s-operator/pkg/vvp/platform: cannot find module providing package github.com/fintechstudios/ververica-platform-k8s-operator/pkg/vvp/platform
github.com/fintechstudios/ververica-platform-k8s-operator imports
	github.com/fintechstudios/ververica-platform-k8s-operator/pkg/vvp/platform-api: cannot find module providing package github.com/fintechstudios/ververica-platform-k8s-operator/pkg/vvp/platform-api
github.com/fintechstudios/ververica-platform-k8s-operator imports
	sigs.k8s.io/controller-runtime imports
	sigs.k8s.io/controller-runtime/pkg/builder imports
	sigs.k8s.io/controller-runtime/pkg/client/apiutil imports
	k8s.io/client-go/discovery imports
	github.com/googleapis/gnostic/OpenAPIv2: cannot find module providing package github.com/googleapis/gnostic/OpenAPIv2

If you think the above is an error on Dependabot's side please don't hesitate to get in touch - we'll do whatever we can to fix it.

View the update logs.

Dependabot can't resolve your Go dependency files

Dependabot can't resolve your Go dependency files.

As a result, Dependabot couldn't update your dependencies.

The error Dependabot encountered was:

github.com/fintechstudios/ververica-platform-k8s-operator/api/v1beta1: cannot find module providing package github.com/fintechstudios/ververica-platform-k8s-operator/api/v1beta1
github.com/fintechstudios/ververica-platform-k8s-operator imports
	github.com/fintechstudios/ververica-platform-k8s-operator/api/v1beta2: cannot find module providing package github.com/fintechstudios/ververica-platform-k8s-operator/api/v1beta2
github.com/fintechstudios/ververica-platform-k8s-operator imports
	github.com/fintechstudios/ververica-platform-k8s-operator/controllers: cannot find module providing package github.com/fintechstudios/ververica-platform-k8s-operator/controllers
github.com/fintechstudios/ververica-platform-k8s-operator imports
	github.com/fintechstudios/ververica-platform-k8s-operator/pkg/vvp/appmanager: cannot find module providing package github.com/fintechstudios/ververica-platform-k8s-operator/pkg/vvp/appmanager
github.com/fintechstudios/ververica-platform-k8s-operator imports
	github.com/fintechstudios/ververica-platform-k8s-operator/pkg/vvp/appmanager-api: cannot find module providing package github.com/fintechstudios/ververica-platform-k8s-operator/pkg/vvp/appmanager-api
github.com/fintechstudios/ververica-platform-k8s-operator imports
	github.com/fintechstudios/ververica-platform-k8s-operator/pkg/vvp/platform: cannot find module providing package github.com/fintechstudios/ververica-platform-k8s-operator/pkg/vvp/platform
github.com/fintechstudios/ververica-platform-k8s-operator imports
	github.com/fintechstudios/ververica-platform-k8s-operator/pkg/vvp/platform-api: cannot find module providing package github.com/fintechstudios/ververica-platform-k8s-operator/pkg/vvp/platform-api

If you think the above is an error on Dependabot's side please don't hesitate to get in touch - we'll do whatever we can to fix it.

View the update logs.

Move to support Ververica Platform v2.x

The second major version of the Platform was just released - this should be the only supported version in a 1.0 release. From the resources side, looks like it will involve just supporting more fields on namespaces (thanks @ ververica team).

From the authentication side, we now have to specify a Bearer token in API requests.

For each VpNamespace that's created, we could create a Secret that stores the token for that namespace, or just create an all-access token in the default namespace to use everywhere. When reconciling namespaced resources, we would need to fetch that secret for the request.

We could also allow for reading a token from the environment or a file (either one per namespace or an all-access token), though this would then have to be deployed separately from the Platform as there doesn't seem to be a way to statically define access tokens.

// {{SERVICE HOST}}/apitokens/v1/namespaces/{{NAMESPACE}}/apitokens
{
  "apiToken": {
    "name": "namespaces/{{NAMESPACE}}/apitokens/{{TOKEN NAME}}",
    "secret": {{UUID}},
    "role": "owner", // owner, editor, viewer
    "createTime": "2019-10-15T21:11:22.792Z"
  }
}

See the changelog here.

Dependabot can't resolve your Go dependency files

Dependabot can't resolve your Go dependency files.

As a result, Dependabot couldn't update your dependencies.

The error Dependabot encountered was:

fatal: The remote end hung up unexpectedly

If you think the above is an error on Dependabot's side please don't hesitate to get in touch - we'll do whatever we can to fix it.

View the update logs.

VpDeployment EnvVars valueFrom reduced to {}

Describe the bug
EnvVars on VpDeployments are not correctly added to the Ververica platform when an environment variable references a Kubernetes secret.

To Reproduce
Steps to reproduce the behavior:

  1. Apply resource
apiVersion: ververicaplatform.fintechstudios.com/v1beta2
kind: VpDeployment
metadata:
  name: "secret-loading-fails"
spec:
  deploymentTargetName: default
  metadata:
    namespace: default
  spec:
    state: RUNNING
    upgradeStrategy:
      kind: STATEFUL
    restoreStrategy:
      kind: LATEST_STATE
    maxJobCreationAttempts: 4
    maxSavepointCreationAttempts: 4
    template:
      spec:
        artifact:
          jarUri: "https://repo1.maven.org/maven2/org/apache/flink/flink-examples-streaming_2.12/1.10.1/flink-examples-streaming_2.12-1.10.1-TopSpeedWindowing.jar"
          kind: JAR
        kubernetes:
          pods:
            envVars:
              - name: MY_SECRET_VALUE
                valueFrom:
                  secretKeyRef:
                    name: my-secret
                    key: secretkey
        parallelism: 1
        numberOfTaskManagers: 1
        resources:
          jobmanager:
            cpu: "300m"
            memory: "512m"
          taskmanager:
            cpu: "300m"
            memory: "1024m"
  1. Open the Ververica Platform UI -> click on the deployment called "secret-loading-fails" -> Configure Deployment -> select YAML tab.
  2. In the spec, the environment variables "valueFrom" is reduced to {}.
      kubernetes:
        pods:
          envVars:
            - name: MY_SECRET_VALUE
              valueFrom: {}

Expected behavior
I expected the Ververica Platform UI to show the following snippet as part of the deployment YAML.

            envVars:
              - name: MY_SECRET_VALUE
                valueFrom:
                  secretKeyRef:
                    name: my-secret
                    key: secretkey

Versions (please complete the following information):

  • Kubernetes: AWS EKS 1.15
  • Ververica Platform: 2.1.1
  • Ververica Platform Operator: v0.8.0
  • Helm, if applicable: Helm chart version 0.12.0

Add short alias for CRDs

As requested by @fintechjohn, would be nice to have a short name for all the CRD resources.

TODO:

  • Add vpdep, vpns, vpdept, vpsave for VpDeployments, VpNamespaces, VpDeploymentTargets, VpSavepoints respectively

Add support for Ververica Platform installation

This is a large one and needs more thought, but many operators manage the installation of the infrastructure itself. It might make sense, instead of deploying this controller alongside the Ververica Platform, to support something like a VpAppManager resource to set up the deployment of the appmanager system itself.

Dependabot can't parse your go.mod

Dependabot couldn't parse the go.mod found at /go.mod.

The error Dependabot encountered was:

go: github.com/onsi/[email protected] requires
	gopkg.in/[email protected] requires
	gopkg.in/[email protected]: invalid version: git fetch -f origin refs/heads/*:refs/heads/* refs/tags/*:refs/tags/* in /opt/go/gopath/pkg/mod/cache/vcs/9241c28341fcedca6a799ab7a465dd6924dc5d94044cbfabb75778817250adfc: exit status 128:
	fatal: The remote end hung up unexpectedly

View the update logs.

Savepoints Fail with Unauthorized Errors

Describe the bug
When creating a new VpSavepoint, the logs show that there is an Unauthorized Error. This likely has to do with the 2.0 new authorization system.

To Reproduce
Steps to reproduce the behavior:

  1. Apply VpSavepoint resource, targeting a running deployment
  2. View log
  3. See no savepoint triggered

Expected behavior
Should create a savepoint.

Versions (please complete the following information):

  • Kubernetes: 1.14
  • Ververica Platform: 2.0.2
  • Ververica Platform Operator: 0.6.0

Add K8s integration testing to CI

It would be good to test a couple of things against a live K8s cluster in CI:

  • CRD installation
  • Connection / RBAC with VVP
  • probably more...

We can accomplish this with kind, though not sure what it will do to the build time.

Add framework for polling the Ververica Platform

We need a way to poll the Ververica Platform for updates to Deployments, Savepoints, etc. This will involve starting and stopping pollers per-resource. It's been suggested to implement this through goroutines sending update events through a channel. The implementation should be able to be used across all custom resources.

Dependabot can't resolve your Go dependency files

Dependabot can't resolve your Go dependency files.

As a result, Dependabot couldn't update your dependencies.

The error Dependabot encountered was:

github.com/fintechstudios/ververica-platform-k8s-operator/api/v1beta1: cannot find module providing package github.com/fintechstudios/ververica-platform-k8s-operator/api/v1beta1
	github.com/fintechstudios/ververica-platform-k8s-operator/api/v1beta2: cannot find module providing package github.com/fintechstudios/ververica-platform-k8s-operator/api/v1beta2
	github.com/fintechstudios/ververica-platform-k8s-operator/controllers: cannot find module providing package github.com/fintechstudios/ververica-platform-k8s-operator/controllers
	github.com/fintechstudios/ververica-platform-k8s-operator/pkg/vvp/appmanager: cannot find module providing package github.com/fintechstudios/ververica-platform-k8s-operator/pkg/vvp/appmanager
	github.com/fintechstudios/ververica-platform-k8s-operator/pkg/vvp/appmanager-api: cannot find module providing package github.com/fintechstudios/ververica-platform-k8s-operator/pkg/vvp/appmanager-api
	github.com/fintechstudios/ververica-platform-k8s-operator/pkg/vvp/platform: cannot find module providing package github.com/fintechstudios/ververica-platform-k8s-operator/pkg/vvp/platform
	github.com/fintechstudios/ververica-platform-k8s-operator/pkg/vvp/platform-api: cannot find module providing package github.com/fintechstudios/ververica-platform-k8s-operator/pkg/vvp/platform-api

If you think the above is an error on Dependabot's side please don't hesitate to get in touch - we'll do whatever we can to fix it.

View the update logs.

Dependabot can't resolve your Go dependency files

Dependabot can't resolve your Go dependency files.

As a result, Dependabot couldn't update your dependencies.

The error Dependabot encountered was:

github.com/fintechstudios/ververica-platform-k8s-operator/api/v1beta1: cannot find module providing package github.com/fintechstudios/ververica-platform-k8s-operator/api/v1beta1
	github.com/fintechstudios/ververica-platform-k8s-operator/api/v1beta2: cannot find module providing package github.com/fintechstudios/ververica-platform-k8s-operator/api/v1beta2
	github.com/fintechstudios/ververica-platform-k8s-operator/controllers: cannot find module providing package github.com/fintechstudios/ververica-platform-k8s-operator/controllers
	github.com/fintechstudios/ververica-platform-k8s-operator/pkg/vvp/appmanager: cannot find module providing package github.com/fintechstudios/ververica-platform-k8s-operator/pkg/vvp/appmanager
	github.com/fintechstudios/ververica-platform-k8s-operator/pkg/vvp/appmanager-api: cannot find module providing package github.com/fintechstudios/ververica-platform-k8s-operator/pkg/vvp/appmanager-api
	github.com/fintechstudios/ververica-platform-k8s-operator/pkg/vvp/platform: cannot find module providing package github.com/fintechstudios/ververica-platform-k8s-operator/pkg/vvp/platform
	github.com/fintechstudios/ververica-platform-k8s-operator/pkg/vvp/platform-api: cannot find module providing package github.com/fintechstudios/ververica-platform-k8s-operator/pkg/vvp/platform-api
	github.com/googleapis/gnostic/OpenAPIv2: cannot find module providing package github.com/googleapis/gnostic/OpenAPIv2

If you think the above is an error on Dependabot's side please don't hesitate to get in touch - we'll do whatever we can to fix it.

View the update logs.

Dependabot can't parse your go.mod

Dependabot couldn't parse the go.mod found at /go.mod.

The error Dependabot encountered was:

go: sigs.k8s.io/[email protected] requires
	k8s.io/[email protected] requires
	go.etcd.io/[email protected] requires
	github.com/grpc-ecosystem/[email protected] requires
	gopkg.in/[email protected]: invalid version: git fetch --unshallow -f origin in /opt/go/gopath/pkg/mod/cache/vcs/748bced43cf7672b862fbc52430e98581510f4f2c34fb30c0064b7102a68ae2c: exit status 128:
	fatal: The remote end hung up unexpectedly

View the update logs.

Dependabot can't resolve your Go dependency files

Dependabot can't resolve your Go dependency files.

As a result, Dependabot couldn't update your dependencies.

The error Dependabot encountered was:

github.com/fintechstudios/ververica-platform-k8s-operator/api/v1beta1: cannot find module providing package github.com/fintechstudios/ververica-platform-k8s-operator/api/v1beta1
	github.com/fintechstudios/ververica-platform-k8s-operator/api/v1beta2: cannot find module providing package github.com/fintechstudios/ververica-platform-k8s-operator/api/v1beta2
	github.com/fintechstudios/ververica-platform-k8s-operator/controllers: cannot find module providing package github.com/fintechstudios/ververica-platform-k8s-operator/controllers
	github.com/fintechstudios/ververica-platform-k8s-operator/pkg/vvp/appmanager: cannot find module providing package github.com/fintechstudios/ververica-platform-k8s-operator/pkg/vvp/appmanager
	github.com/fintechstudios/ververica-platform-k8s-operator/pkg/vvp/appmanager-api: cannot find module providing package github.com/fintechstudios/ververica-platform-k8s-operator/pkg/vvp/appmanager-api
	github.com/fintechstudios/ververica-platform-k8s-operator/pkg/vvp/platform: cannot find module providing package github.com/fintechstudios/ververica-platform-k8s-operator/pkg/vvp/platform
	github.com/fintechstudios/ververica-platform-k8s-operator/pkg/vvp/platform-api: cannot find module providing package github.com/fintechstudios/ververica-platform-k8s-operator/pkg/vvp/platform-api
	k8s.io/api/auditregistration/v1alpha1: cannot find module providing package k8s.io/api/auditregistration/v1alpha1
	k8s.io/api/batch/v2alpha1: cannot find module providing package k8s.io/api/batch/v2alpha1
	k8s.io/api/discovery/v1alpha1: cannot find module providing package k8s.io/api/discovery/v1alpha1
	k8s.io/api/settings/v1alpha1: cannot find module providing package k8s.io/api/settings/v1alpha1
	github.com/googleapis/gnostic/OpenAPIv2: cannot find module providing package github.com/googleapis/gnostic/OpenAPIv2

If you think the above is an error on Dependabot's side please don't hesitate to get in touch - we'll do whatever we can to fix it.

View the update logs.

Create a Helm Chart repository

Creating a Helm Chart repository would allow these charts to be listed on hub.helm.sh and be installed without copying/ being in the repo.

Would need to publish charts in a similar way to how the docker images are currently published from CI.

Add Events support

See: https://docs.ververica.com/stream/application_manager/deployments/event_log.html

It would be nice to have access to this through Kubernetes for debugging issues without diving into the VP UI.

This would likely have to register a watcher on the API to poll for events when Deployments are created, create K8s resources for them, and then clean everything up when the deployment is deleted.

It would also be nice to attach a link to these events directly in the deployment's status.

Dependabot can't resolve your Go dependency files

Dependabot can't resolve your Go dependency files.

As a result, Dependabot couldn't update your dependencies.

The error Dependabot encountered was:

github.com/fintechstudios/ververica-platform-k8s-operator/api/v1beta1: cannot find module providing package github.com/fintechstudios/ververica-platform-k8s-operator/api/v1beta1
github.com/fintechstudios/ververica-platform-k8s-operator imports
	github.com/fintechstudios/ververica-platform-k8s-operator/api/v1beta2: cannot find module providing package github.com/fintechstudios/ververica-platform-k8s-operator/api/v1beta2
github.com/fintechstudios/ververica-platform-k8s-operator imports
	github.com/fintechstudios/ververica-platform-k8s-operator/controllers: cannot find module providing package github.com/fintechstudios/ververica-platform-k8s-operator/controllers
github.com/fintechstudios/ververica-platform-k8s-operator imports
	github.com/fintechstudios/ververica-platform-k8s-operator/pkg/vvp/appmanager: cannot find module providing package github.com/fintechstudios/ververica-platform-k8s-operator/pkg/vvp/appmanager
github.com/fintechstudios/ververica-platform-k8s-operator imports
	github.com/fintechstudios/ververica-platform-k8s-operator/pkg/vvp/appmanager-api: cannot find module providing package github.com/fintechstudios/ververica-platform-k8s-operator/pkg/vvp/appmanager-api
github.com/fintechstudios/ververica-platform-k8s-operator imports
	github.com/fintechstudios/ververica-platform-k8s-operator/pkg/vvp/platform: cannot find module providing package github.com/fintechstudios/ververica-platform-k8s-operator/pkg/vvp/platform
github.com/fintechstudios/ververica-platform-k8s-operator imports
	github.com/fintechstudios/ververica-platform-k8s-operator/pkg/vvp/platform-api: cannot find module providing package github.com/fintechstudios/ververica-platform-k8s-operator/pkg/vvp/platform-api
github.com/fintechstudios/ververica-platform-k8s-operator imports
	sigs.k8s.io/controller-runtime imports
	sigs.k8s.io/controller-runtime/pkg/builder imports
	sigs.k8s.io/controller-runtime/pkg/client/apiutil imports
	k8s.io/client-go/discovery imports
	github.com/googleapis/gnostic/OpenAPIv2: cannot find module providing package github.com/googleapis/gnostic/OpenAPIv2

If you think the above is an error on Dependabot's side please don't hesitate to get in touch - we'll do whatever we can to fix it.

View the update logs.

Dependabot can't parse your go.mod

Dependabot couldn't parse the go.mod found at /go.mod.

The error Dependabot encountered was:

go: sigs.k8s.io/[email protected] requires
	k8s.io/[email protected] requires
	go.etcd.io/[email protected] requires
	github.com/grpc-ecosystem/[email protected] requires
	gopkg.in/[email protected]: reading gopkg.in/resty.v1/go.mod at revision v1.12.0: git fetch -f origin refs/heads/*:refs/heads/* refs/tags/*:refs/tags/* in /opt/go/gopath/pkg/mod/cache/vcs/2efdf1e6ae06098a2ff180a3c5455615d601465448735fe4132b10377f6a96bc: exit status 128:
	remote: Cannot obtain refs from GitHub: cannot talk to GitHub: Get https://github.com/go-resty/resty.git/info/refs?service=git-upload-pack: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)
	fatal: unable to access 'https://gopkg.in/resty.v1/': The requested URL returned error: 502

View the update logs.

Dependabot can't resolve your Go dependency files

Dependabot can't resolve your Go dependency files.

As a result, Dependabot couldn't update your dependencies.

The error Dependabot encountered was:

github.com/fintechstudios/ververica-platform-k8s-operator/api/v1beta1: cannot find module providing package github.com/fintechstudios/ververica-platform-k8s-operator/api/v1beta1
github.com/fintechstudios/ververica-platform-k8s-operator imports
	github.com/fintechstudios/ververica-platform-k8s-operator/api/v1beta2: cannot find module providing package github.com/fintechstudios/ververica-platform-k8s-operator/api/v1beta2
github.com/fintechstudios/ververica-platform-k8s-operator imports
	github.com/fintechstudios/ververica-platform-k8s-operator/controllers: cannot find module providing package github.com/fintechstudios/ververica-platform-k8s-operator/controllers
github.com/fintechstudios/ververica-platform-k8s-operator imports
	github.com/fintechstudios/ververica-platform-k8s-operator/pkg/vvp/appmanager: cannot find module providing package github.com/fintechstudios/ververica-platform-k8s-operator/pkg/vvp/appmanager
github.com/fintechstudios/ververica-platform-k8s-operator imports
	github.com/fintechstudios/ververica-platform-k8s-operator/pkg/vvp/appmanager-api: cannot find module providing package github.com/fintechstudios/ververica-platform-k8s-operator/pkg/vvp/appmanager-api
github.com/fintechstudios/ververica-platform-k8s-operator imports
	github.com/fintechstudios/ververica-platform-k8s-operator/pkg/vvp/platform: cannot find module providing package github.com/fintechstudios/ververica-platform-k8s-operator/pkg/vvp/platform
github.com/fintechstudios/ververica-platform-k8s-operator imports
	github.com/fintechstudios/ververica-platform-k8s-operator/pkg/vvp/platform-api: cannot find module providing package github.com/fintechstudios/ververica-platform-k8s-operator/pkg/vvp/platform-api
github.com/fintechstudios/ververica-platform-k8s-operator imports
	sigs.k8s.io/controller-runtime imports
	sigs.k8s.io/controller-runtime/pkg/builder imports
	sigs.k8s.io/controller-runtime/pkg/client/apiutil imports
	k8s.io/client-go/discovery imports
	github.com/googleapis/gnostic/OpenAPIv2: cannot find module providing package github.com/googleapis/gnostic/OpenAPIv2

If you think the above is an error on Dependabot's side please don't hesitate to get in touch - we'll do whatever we can to fix it.

View the update logs.

Add Support for the Community Edition

Since the Community Edition doesn't support API Access Tokens, the operator must not try to create them and must allow passing in the edition being used.

Dependabot can't resolve your Go dependency files

Dependabot can't resolve your Go dependency files.

As a result, Dependabot couldn't update your dependencies.

The error Dependabot encountered was:

github.com/fintechstudios/ververica-platform-k8s-operator/api/v1beta1: cannot find module providing package github.com/fintechstudios/ververica-platform-k8s-operator/api/v1beta1
	github.com/fintechstudios/ververica-platform-k8s-operator/api/v1beta2: cannot find module providing package github.com/fintechstudios/ververica-platform-k8s-operator/api/v1beta2
	github.com/fintechstudios/ververica-platform-k8s-operator/controllers: cannot find module providing package github.com/fintechstudios/ververica-platform-k8s-operator/controllers
	github.com/fintechstudios/ververica-platform-k8s-operator/pkg/vvp/appmanager: cannot find module providing package github.com/fintechstudios/ververica-platform-k8s-operator/pkg/vvp/appmanager
	github.com/fintechstudios/ververica-platform-k8s-operator/pkg/vvp/appmanager-api: cannot find module providing package github.com/fintechstudios/ververica-platform-k8s-operator/pkg/vvp/appmanager-api
	github.com/fintechstudios/ververica-platform-k8s-operator/pkg/vvp/platform: cannot find module providing package github.com/fintechstudios/ververica-platform-k8s-operator/pkg/vvp/platform
	github.com/fintechstudios/ververica-platform-k8s-operator/pkg/vvp/platform-api: cannot find module providing package github.com/fintechstudios/ververica-platform-k8s-operator/pkg/vvp/platform-api
	k8s.io/api/auditregistration/v1alpha1: cannot find module providing package k8s.io/api/auditregistration/v1alpha1
	k8s.io/api/batch/v2alpha1: cannot find module providing package k8s.io/api/batch/v2alpha1
	k8s.io/api/discovery/v1alpha1: cannot find module providing package k8s.io/api/discovery/v1alpha1
	k8s.io/api/settings/v1alpha1: cannot find module providing package k8s.io/api/settings/v1alpha1
	github.com/googleapis/gnostic/OpenAPIv2: cannot find module providing package github.com/googleapis/gnostic/OpenAPIv2

If you think the above is an error on Dependabot's side please don't hesitate to get in touch - we'll do whatever we can to fix it.

View the update logs.

Dependabot can't resolve your Go dependency files

Dependabot can't resolve your Go dependency files.

As a result, Dependabot couldn't update your dependencies.

The error Dependabot encountered was:

github.com/fintechstudios/ververica-platform-k8s-operator/api/v1beta1: cannot find module providing package github.com/fintechstudios/ververica-platform-k8s-operator/api/v1beta1
github.com/fintechstudios/ververica-platform-k8s-operator imports
	github.com/fintechstudios/ververica-platform-k8s-operator/api/v1beta2: cannot find module providing package github.com/fintechstudios/ververica-platform-k8s-operator/api/v1beta2
github.com/fintechstudios/ververica-platform-k8s-operator imports
	github.com/fintechstudios/ververica-platform-k8s-operator/controllers: cannot find module providing package github.com/fintechstudios/ververica-platform-k8s-operator/controllers
github.com/fintechstudios/ververica-platform-k8s-operator imports
	github.com/fintechstudios/ververica-platform-k8s-operator/pkg/vvp/appmanager: cannot find module providing package github.com/fintechstudios/ververica-platform-k8s-operator/pkg/vvp/appmanager
github.com/fintechstudios/ververica-platform-k8s-operator imports
	github.com/fintechstudios/ververica-platform-k8s-operator/pkg/vvp/appmanager-api: cannot find module providing package github.com/fintechstudios/ververica-platform-k8s-operator/pkg/vvp/appmanager-api
github.com/fintechstudios/ververica-platform-k8s-operator imports
	github.com/fintechstudios/ververica-platform-k8s-operator/pkg/vvp/platform: cannot find module providing package github.com/fintechstudios/ververica-platform-k8s-operator/pkg/vvp/platform
github.com/fintechstudios/ververica-platform-k8s-operator imports
	github.com/fintechstudios/ververica-platform-k8s-operator/pkg/vvp/platform-api: cannot find module providing package github.com/fintechstudios/ververica-platform-k8s-operator/pkg/vvp/platform-api

If you think the above is an error on Dependabot's side please don't hesitate to get in touch - we'll do whatever we can to fix it.

View the update logs.

Add Job support

Much like Events (#30), it would be nice to attach the created Jobs for each Deployment so that we could get K8s specific information like pods without searching with other Kubernetes tools.

Dependabot can't resolve your Go dependency files

Dependabot can't resolve your Go dependency files.

As a result, Dependabot couldn't update your dependencies.

The error Dependabot encountered was:

github.com/fintechstudios/ververica-platform-k8s-operator/api/v1beta1: cannot find module providing package github.com/fintechstudios/ververica-platform-k8s-operator/api/v1beta1
	github.com/fintechstudios/ververica-platform-k8s-operator/api/v1beta2: cannot find module providing package github.com/fintechstudios/ververica-platform-k8s-operator/api/v1beta2
	github.com/fintechstudios/ververica-platform-k8s-operator/controllers: cannot find module providing package github.com/fintechstudios/ververica-platform-k8s-operator/controllers
	github.com/fintechstudios/ververica-platform-k8s-operator/pkg/vvp/appmanager: cannot find module providing package github.com/fintechstudios/ververica-platform-k8s-operator/pkg/vvp/appmanager
	github.com/fintechstudios/ververica-platform-k8s-operator/pkg/vvp/appmanager-api: cannot find module providing package github.com/fintechstudios/ververica-platform-k8s-operator/pkg/vvp/appmanager-api
	github.com/fintechstudios/ververica-platform-k8s-operator/pkg/vvp/platform: cannot find module providing package github.com/fintechstudios/ververica-platform-k8s-operator/pkg/vvp/platform
	github.com/fintechstudios/ververica-platform-k8s-operator/pkg/vvp/platform-api: cannot find module providing package github.com/fintechstudios/ververica-platform-k8s-operator/pkg/vvp/platform-api
	k8s.io/api/auditregistration/v1alpha1: cannot find module providing package k8s.io/api/auditregistration/v1alpha1
	k8s.io/api/batch/v2alpha1: cannot find module providing package k8s.io/api/batch/v2alpha1
	k8s.io/api/discovery/v1alpha1: cannot find module providing package k8s.io/api/discovery/v1alpha1
	k8s.io/api/settings/v1alpha1: cannot find module providing package k8s.io/api/settings/v1alpha1
	github.com/googleapis/gnostic/OpenAPIv2: cannot find module providing package github.com/googleapis/gnostic/OpenAPIv2

If you think the above is an error on Dependabot's side please don't hesitate to get in touch - we'll do whatever we can to fix it.

View the update logs.

Dependabot can't resolve your Go dependency files

Dependabot can't resolve your Go dependency files.

As a result, Dependabot couldn't update your dependencies.

The error Dependabot encountered was:

github.com/fintechstudios/ververica-platform-k8s-operator/api/v1beta1: cannot find module providing package github.com/fintechstudios/ververica-platform-k8s-operator/api/v1beta1
	github.com/fintechstudios/ververica-platform-k8s-operator/api/v1beta2: cannot find module providing package github.com/fintechstudios/ververica-platform-k8s-operator/api/v1beta2
	github.com/fintechstudios/ververica-platform-k8s-operator/controllers: cannot find module providing package github.com/fintechstudios/ververica-platform-k8s-operator/controllers
	github.com/fintechstudios/ververica-platform-k8s-operator/pkg/vvp/appmanager: cannot find module providing package github.com/fintechstudios/ververica-platform-k8s-operator/pkg/vvp/appmanager
	github.com/fintechstudios/ververica-platform-k8s-operator/pkg/vvp/appmanager-api: cannot find module providing package github.com/fintechstudios/ververica-platform-k8s-operator/pkg/vvp/appmanager-api
	github.com/fintechstudios/ververica-platform-k8s-operator/pkg/vvp/platform: cannot find module providing package github.com/fintechstudios/ververica-platform-k8s-operator/pkg/vvp/platform
	github.com/fintechstudios/ververica-platform-k8s-operator/pkg/vvp/platform-api: cannot find module providing package github.com/fintechstudios/ververica-platform-k8s-operator/pkg/vvp/platform-api

If you think the above is an error on Dependabot's side please don't hesitate to get in touch - we'll do whatever we can to fix it.

View the update logs.

Dependabot can't resolve your Go dependency files

Dependabot can't resolve your Go dependency files.

As a result, Dependabot couldn't update your dependencies.

The error Dependabot encountered was:

github.com/fintechstudios/ververica-platform-k8s-operator/api/v1beta1: cannot find module providing package github.com/fintechstudios/ververica-platform-k8s-operator/api/v1beta1
github.com/fintechstudios/ververica-platform-k8s-operator imports
	github.com/fintechstudios/ververica-platform-k8s-operator/api/v1beta2: cannot find module providing package github.com/fintechstudios/ververica-platform-k8s-operator/api/v1beta2
github.com/fintechstudios/ververica-platform-k8s-operator imports
	github.com/fintechstudios/ververica-platform-k8s-operator/controllers: cannot find module providing package github.com/fintechstudios/ververica-platform-k8s-operator/controllers
github.com/fintechstudios/ververica-platform-k8s-operator imports
	github.com/fintechstudios/ververica-platform-k8s-operator/pkg/vvp/appmanager: cannot find module providing package github.com/fintechstudios/ververica-platform-k8s-operator/pkg/vvp/appmanager
github.com/fintechstudios/ververica-platform-k8s-operator imports
	github.com/fintechstudios/ververica-platform-k8s-operator/pkg/vvp/appmanager-api: cannot find module providing package github.com/fintechstudios/ververica-platform-k8s-operator/pkg/vvp/appmanager-api
github.com/fintechstudios/ververica-platform-k8s-operator imports
	github.com/fintechstudios/ververica-platform-k8s-operator/pkg/vvp/platform: cannot find module providing package github.com/fintechstudios/ververica-platform-k8s-operator/pkg/vvp/platform
github.com/fintechstudios/ververica-platform-k8s-operator imports
	github.com/fintechstudios/ververica-platform-k8s-operator/pkg/vvp/platform-api: cannot find module providing package github.com/fintechstudios/ververica-platform-k8s-operator/pkg/vvp/platform-api
github.com/fintechstudios/ververica-platform-k8s-operator imports
	sigs.k8s.io/controller-runtime imports
	sigs.k8s.io/controller-runtime/pkg/manager imports
	k8s.io/client-go/kubernetes/scheme imports
	k8s.io/api/auditregistration/v1alpha1: cannot find module providing package k8s.io/api/auditregistration/v1alpha1
github.com/fintechstudios/ververica-platform-k8s-operator imports
	sigs.k8s.io/controller-runtime imports
	sigs.k8s.io/controller-runtime/pkg/manager imports
	k8s.io/client-go/kubernetes/scheme imports
	k8s.io/api/settings/v1alpha1: cannot find module providing package k8s.io/api/settings/v1alpha1
github.com/fintechstudios/ververica-platform-k8s-operator imports
	sigs.k8s.io/controller-runtime imports
	sigs.k8s.io/controller-runtime/pkg/builder imports
	sigs.k8s.io/controller-runtime/pkg/client/apiutil imports
	k8s.io/client-go/discovery imports
	github.com/googleapis/gnostic/OpenAPIv2: cannot find module providing package github.com/googleapis/gnostic/OpenAPIv2

If you think the above is an error on Dependabot's side please don't hesitate to get in touch - we'll do whatever we can to fix it.

View the update logs.

Document VVP Operator Setup w/ Different Namespaces

Is this a question about how something works? Is this something missing from the docs? Please describe.

How would I set up the VVP and the Operator in a multi-namespace setup? What are some best practices for deploying the Operator?

Additional context

Currently, deploying the default VVP setup results in authorization errors when trying to deploy jobs in a different namespace without first setting up the proper k8s roles.

Example error:

Failed to create the Kubernetes resources for the job: Forbidden (body = {"kind":"Status","apiVersion":"v1","metadata":{},"status":"Failure","message":"services \"job-d5062388-f261-45bc-ab54-7a7a18666d38-jobmanager\" is forbidden: User \"system:serviceaccount:vvp:vvp-ververica-platform\" cannot get resource \"services\" in API group \"\" in the namespace \"flink\"","reason":"Forbidden","details":{"name":"job-d5062388-f261-45bc-ab54-7a7a18666d38-jobmanager","kind":"services"},"code":403}
)

Dependabot can't resolve your Go dependency files

Dependabot can't resolve your Go dependency files.

As a result, Dependabot couldn't update your dependencies.

The error Dependabot encountered was:

github.com/fintechstudios/ververica-platform-k8s-operator/api/v1beta1: cannot find module providing package github.com/fintechstudios/ververica-platform-k8s-operator/api/v1beta1
	github.com/fintechstudios/ververica-platform-k8s-operator/api/v1beta2: cannot find module providing package github.com/fintechstudios/ververica-platform-k8s-operator/api/v1beta2
	github.com/fintechstudios/ververica-platform-k8s-operator/controllers: cannot find module providing package github.com/fintechstudios/ververica-platform-k8s-operator/controllers
	github.com/fintechstudios/ververica-platform-k8s-operator/pkg/vvp/appmanager: cannot find module providing package github.com/fintechstudios/ververica-platform-k8s-operator/pkg/vvp/appmanager
	github.com/fintechstudios/ververica-platform-k8s-operator/pkg/vvp/appmanager-api: cannot find module providing package github.com/fintechstudios/ververica-platform-k8s-operator/pkg/vvp/appmanager-api
	github.com/fintechstudios/ververica-platform-k8s-operator/pkg/vvp/platform: cannot find module providing package github.com/fintechstudios/ververica-platform-k8s-operator/pkg/vvp/platform
	github.com/fintechstudios/ververica-platform-k8s-operator/pkg/vvp/platform-api: cannot find module providing package github.com/fintechstudios/ververica-platform-k8s-operator/pkg/vvp/platform-api
	github.com/googleapis/gnostic/OpenAPIv2: cannot find module providing package github.com/googleapis/gnostic/OpenAPIv2

If you think the above is an error on Dependabot's side please don't hesitate to get in touch - we'll do whatever we can to fix it.

View the update logs.

Dependabot can't resolve your Go dependency files

Dependabot can't resolve your Go dependency files.

As a result, Dependabot couldn't update your dependencies.

The error Dependabot encountered was:

github.com/fintechstudios/ververica-platform-k8s-operator/api/v1beta1: cannot find module providing package github.com/fintechstudios/ververica-platform-k8s-operator/api/v1beta1
github.com/fintechstudios/ververica-platform-k8s-operator imports
	github.com/fintechstudios/ververica-platform-k8s-operator/api/v1beta2: cannot find module providing package github.com/fintechstudios/ververica-platform-k8s-operator/api/v1beta2
github.com/fintechstudios/ververica-platform-k8s-operator imports
	github.com/fintechstudios/ververica-platform-k8s-operator/controllers: cannot find module providing package github.com/fintechstudios/ververica-platform-k8s-operator/controllers
github.com/fintechstudios/ververica-platform-k8s-operator imports
	github.com/fintechstudios/ververica-platform-k8s-operator/pkg/vvp/appmanager: cannot find module providing package github.com/fintechstudios/ververica-platform-k8s-operator/pkg/vvp/appmanager
github.com/fintechstudios/ververica-platform-k8s-operator imports
	github.com/fintechstudios/ververica-platform-k8s-operator/pkg/vvp/appmanager-api: cannot find module providing package github.com/fintechstudios/ververica-platform-k8s-operator/pkg/vvp/appmanager-api
github.com/fintechstudios/ververica-platform-k8s-operator imports
	github.com/fintechstudios/ververica-platform-k8s-operator/pkg/vvp/platform: cannot find module providing package github.com/fintechstudios/ververica-platform-k8s-operator/pkg/vvp/platform
github.com/fintechstudios/ververica-platform-k8s-operator imports
	github.com/fintechstudios/ververica-platform-k8s-operator/pkg/vvp/platform-api: cannot find module providing package github.com/fintechstudios/ververica-platform-k8s-operator/pkg/vvp/platform-api
github.com/fintechstudios/ververica-platform-k8s-operator imports
	sigs.k8s.io/controller-runtime imports
	sigs.k8s.io/controller-runtime/pkg/manager imports
	k8s.io/client-go/kubernetes/scheme imports
	k8s.io/api/auditregistration/v1alpha1: cannot find module providing package k8s.io/api/auditregistration/v1alpha1
github.com/fintechstudios/ververica-platform-k8s-operator imports
	sigs.k8s.io/controller-runtime imports
	sigs.k8s.io/controller-runtime/pkg/manager imports
	k8s.io/client-go/kubernetes/scheme imports
	k8s.io/api/settings/v1alpha1: cannot find module providing package k8s.io/api/settings/v1alpha1
github.com/fintechstudios/ververica-platform-k8s-operator imports
	sigs.k8s.io/controller-runtime imports
	sigs.k8s.io/controller-runtime/pkg/builder imports
	sigs.k8s.io/controller-runtime/pkg/client/apiutil imports
	k8s.io/client-go/discovery imports
	github.com/googleapis/gnostic/OpenAPIv2: cannot find module providing package github.com/googleapis/gnostic/OpenAPIv2

If you think the above is an error on Dependabot's side please don't hesitate to get in touch - we'll do whatever we can to fix it.

View the update logs.

Log Specific Error Reasons from the VVP API

Currently, errors coming from requests to the VVP API are logged with their HTTP reason and message. The message can be vague and not enough information to track down the root issue.

Describe the solution you'd like

There are more fields available on the error response objects, such as the .errors array. We should ensure that array is marshalled if available and include the messages in the error log.

{

  "kind": "ApiValidationException",
  "apiVersion": "v1",
  "message": "Deployment parameters are invalid",
  "reason": "BadRequest",
  "errors": [
    {
      "attribute": "spec.template.spec.resources[taskmanager].memory",
      "message": "must be >= 1000m",
      "reason": "isLower"
    }
  ],
  "statusCode": 400
}

Dependabot can't resolve your Go dependency files

Dependabot can't resolve your Go dependency files.

As a result, Dependabot couldn't update your dependencies.

The error Dependabot encountered was:

github.com/fintechstudios/ververica-platform-k8s-operator/api/v1beta1: cannot find module providing package github.com/fintechstudios/ververica-platform-k8s-operator/api/v1beta1
	github.com/fintechstudios/ververica-platform-k8s-operator/api/v1beta2: cannot find module providing package github.com/fintechstudios/ververica-platform-k8s-operator/api/v1beta2
	github.com/fintechstudios/ververica-platform-k8s-operator/controllers: cannot find module providing package github.com/fintechstudios/ververica-platform-k8s-operator/controllers
	github.com/fintechstudios/ververica-platform-k8s-operator/pkg/vvp/appmanager: cannot find module providing package github.com/fintechstudios/ververica-platform-k8s-operator/pkg/vvp/appmanager
	github.com/fintechstudios/ververica-platform-k8s-operator/pkg/vvp/appmanager-api: cannot find module providing package github.com/fintechstudios/ververica-platform-k8s-operator/pkg/vvp/appmanager-api
	github.com/fintechstudios/ververica-platform-k8s-operator/pkg/vvp/platform: cannot find module providing package github.com/fintechstudios/ververica-platform-k8s-operator/pkg/vvp/platform
	github.com/fintechstudios/ververica-platform-k8s-operator/pkg/vvp/platform-api: cannot find module providing package github.com/fintechstudios/ververica-platform-k8s-operator/pkg/vvp/platform-api
	github.com/googleapis/gnostic/OpenAPIv2: cannot find module providing package github.com/googleapis/gnostic/OpenAPIv2

If you think the above is an error on Dependabot's side please don't hesitate to get in touch - we'll do whatever we can to fix it.

View the update logs.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.