You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by GitBox <gi...@apache.org> on 2019/02/28 23:53:44 UTC

[GitHub] nicolaferraro commented on issue #512: CRD's without cluster admin access / No direct network access from cluster

nicolaferraro commented on issue #512: CRD's without cluster admin access / No direct network access from cluster
URL: https://github.com/apache/camel-k/issues/512#issuecomment-468486904
 
 
   Hi @ColeFerrier, CRDs and roles need to be created by a cluster admin for Camel K to work. Fortunately, this can be done once, then you can use your standard credential for everything else. The list of resources to give to the admin for creation can be obtained from the command:
   
   ```
   kamel install --cluster-setup -o yaml
   ```
   ...but you need to be connected as cluster admin to a cluster to see them, so I paste them here:
   
   ```
   apiVersion: v1
   items:
   - apiVersion: apiextensions.k8s.io/v1beta1
     kind: CustomResourceDefinition
     metadata:
       labels:
         app: camel-k
       name: integrationplatforms.camel.apache.org
     spec:
       additionalPrinterColumns:
       - JSONPath: .status.phase
         description: The IntegrationPlatform phase
         name: Phase
         type: string
       group: camel.apache.org
       names:
         kind: IntegrationPlatform
         listKind: IntegrationPlatformList
         plural: integrationplatforms
         shortNames:
         - ip
         singular: integrationplatform
       scope: Namespaced
       subresources:
         status: {}
       version: v1alpha1
   - apiVersion: apiextensions.k8s.io/v1beta1
     kind: CustomResourceDefinition
     metadata:
       labels:
         app: camel-k
       name: integrationcontexts.camel.apache.org
     spec:
       additionalPrinterColumns:
       - JSONPath: .status.phase
         description: The IntegrationContext phase
         name: Phase
         type: string
       - JSONPath: .metadata.labels.camel\.apache\.org\/context\.type
         description: The IntegrationContext type
         name: Type
         type: string
       - JSONPath: .status.image
         description: The IntegrationContext image
         name: Image
         type: string
       group: camel.apache.org
       names:
         kind: IntegrationContext
         listKind: IntegrationContextList
         plural: integrationcontexts
         shortNames:
         - ictx
         singular: integrationcontext
       scope: Namespaced
       subresources:
         status: {}
       version: v1alpha1
   - apiVersion: apiextensions.k8s.io/v1beta1
     kind: CustomResourceDefinition
     metadata:
       labels:
         app: camel-k
       name: integrations.camel.apache.org
     spec:
       additionalPrinterColumns:
       - JSONPath: .status.phase
         description: The Integration phase
         name: Phase
         type: string
       - JSONPath: .status.context
         description: The IntegrationContext to use
         name: Context
         type: string
       group: camel.apache.org
       names:
         kind: Integration
         listKind: IntegrationList
         plural: integrations
         shortNames:
         - it
         singular: integration
       scope: Namespaced
       subresources:
         status: {}
       version: v1alpha1
   - apiVersion: apiextensions.k8s.io/v1beta1
     kind: CustomResourceDefinition
     metadata:
       labels:
         app: camel-k
       name: camelcatalogs.camel.apache.org
     spec:
       additionalPrinterColumns:
       - JSONPath: .spec.version
         description: The Catalog version
         name: Version
         type: string
       group: camel.apache.org
       names:
         kind: CamelCatalog
         listKind: CamelCatalogList
         plural: camelcatalogs
         shortNames:
         - cc
         singular: camelcatalog
       scope: Namespaced
       subresources:
         status: {}
       version: v1alpha1
   - apiVersion: rbac.authorization.k8s.io/v1
     kind: ClusterRole
     metadata:
       creationTimestamp: null
       labels:
         app: camel-k
         rbac.authorization.k8s.io/aggregate-to-admin: "true"
         rbac.authorization.k8s.io/aggregate-to-edit: "true"
       name: camel-k:edit
     rules:
     - apiGroups:
       - camel.apache.org
       resources:
       - '*'
       verbs:
       - '*'
   kind: List
   metadata: {}
   ```
   
   It's using java artifacts from maven central and apache servers by default. If you mean setting a maven mirror, I think @lburgazzoli has the solution (didn't find the doc).

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services