Skip to content

resource mapping not found for name: "spinnaker" namespace: "spinnaker" from "STDIN": no matches for kind "SpinnakerService" in version "spinnaker.io/v1alpha2" #264

@tirelibirefe

Description

@tirelibirefe

Hello,
This is what I do...

Installing operator:
helm install armory-spinnaker-operator -n spinnaker-operator --wait armory/armory-spinnaker-operator

things work; no problem.

$ k get crd -A | grep spinnaker
armoryaccounts.spinnaker.armory.io                    2022-08-03T23:28:51Z
spinnakerservices.spinnaker.armory.io                 2022-08-03T23:28:51Z

$ k api-resources | grep spin
armoryaccounts                    armoryaccount   spinnaker.armory.io/v1alpha2                true         ArmoryAccount
spinnakerservices                 spinsvc         spinnaker.armory.io/v1alpha2                true         SpinnakerService

this is my spinnakerservice manifest:

apiVersion: spinnaker.io/v1alpha2
kind: SpinnakerService
metadata:
  name: spinnaker
spec:
  spinnakerConfig:
    config:
      version: 1.27.0
      persistentStorage:
        persistentStoreType: s3
        s3:
          bucket: $S3_BUCKET
          rootFolder: front50
          region: eu-central-1
          accessKeyId: AKIAKNLKJNLNLBLAVLA
          secretAccessKey: asdşfhUblalblbalalblawerwrwrt
  expose:
    type: service
    service:
      type: ClusterIP

I get the following error:

error: resource mapping not found for name: "spinnaker" namespace: "spinnaker" from "STDIN": no matches 
for kind "SpinnakerService" in version "spinnaker.io/v1alpha2"
ensure CRDs are installed first

Am I missing something? Could you please advise?

Thanks & Regards

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions