You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Apply the manifest.
Verify the container app controller logs and the status of the containerapp resource.
What happened?
Error creating the resource with the following message:
2024-11-01T12:50:51Z DEBUG provider-azure Async create ended. {"trackerUID": "d8ed1da1-edac-485e-8e65-f2c92a563c05", "resourceName": "capp-psp", "gvk": "containerapp.azure.upbound.io/v1beta1, Kind=ContainerApp", "error": "async create failed: failed to create the resource: [{0 creating Container App (Subscription: \"subscriptionID\"\nResource Group Name: \"ResourceGroupName\"\nContainer App Name: \"capp-psp\"): performing CreateOrUpdate: unexpected status 400 (400 Bad Request) with error: ContainerAppSecretInvalid: Invalid Request: Container app secret(s) with name(s) '' are invalid: value or keyVaultUrl and identity should be provided. creating Container App (Subscription: \"subscriptionID\"\nResource Group Name: \"ResourceGroupName\"\nContainer App Name: \"capp-psp\"): performing CreateOrUpdate: unexpected status 400 (400 Bad Request) with error: ContainerAppSecretInvalid: Invalid Request: Container app secret(s) with name(s) '' are invalid: value or keyVaultUrl and identity should be provided. []}]", "tfID": ""}
Relevant Error Output Snippet
status:
atProvider: {}
conditions:
- lastTransitionTime: "2024-11-01T12:50:16Z"
reason: Creating
status: "False"
type: Ready
- lastTransitionTime: "2024-11-01T12:50:16Z"
message: |-
create failed: async create failed: failed to create the resource: [{0 creating Container App (Subscription: "subscriptionID"
Resource Group Name: "ResourceGroupName"
Container App Name: "capp-psp"): performing CreateOrUpdate: unexpected status 400 (400 Bad Request) with error: ContainerAppSecretInvalid: Invalid Request: Container app secret(s) with name(s) '' are invalid: value or keyVaultUrl and identity should be provided. creating Container App (Subscription: "subscriptionID"
Resource Group Name: "ResourceGroupName"
Container App Name: "capp-psp"): performing CreateOrUpdate: unexpected status 400 (400 Bad Request) with error: ContainerAppSecretInvalid: Invalid Request: Container app secret(s) with name(s) '' are invalid: value or keyVaultUrl and identity should be provided. []}]
reason: ReconcileError
status: "False"
type: Synced
- lastTransitionTime: "2024-11-01T12:50:16Z"
message: |-
async create failed: failed to create the resource: [{0 creating Container App (Subscription: "subscriptionID"
Resource Group Name: "ResourceGroupName"
Container App Name: "capp-psp"): performing CreateOrUpdate: unexpected status 400 (400 Bad Request) with error: ContainerAppSecretInvalid: Invalid Request: Container app secret(s) with name(s) '' are invalid: value or keyVaultUrl and identity should be provided. creating Container App (Subscription: "subscriptionID"
Resource Group Name: "ResourceGroupName"
Container App Name: "capp-psp"): performing CreateOrUpdate: unexpected status 400 (400 Bad Request) with error: ContainerAppSecretInvalid: Invalid Request: Container app secret(s) with name(s) '' are invalid: value or keyVaultUrl and identity should be provided. []}]
reason: AsyncCreateFailure
status: "False"
type: LastAsyncOperation
Crossplane Version
1.17.1
Provider Version
v1.7.0
Kubernetes Version
1.30.3
Kubernetes Distribution
AKS
Additional Info
I am trying to pull an image from a private registry using secrets with user and passwords, the registry was not created with crossplane, in kubernetes there is a secret with user and password.
The text was updated successfully, but these errors were encountered:
Is there an existing issue for this?
Affected Resource(s)
Resource MRs required to reproduce the bug
apiVersion: containerapp.azure.upbound.io/v1beta2
kind: ContainerApp
metadata:
name: capp-psp
spec:
deletionPolicy: Delete
forProvider:
containerAppEnvironmentId: /subscriptions/subscriptionID/resourceGroups/ResourceGroupName/providers/Microsoft.App/managedEnvironments/env-containerapp-bbmp
containerAppEnvironmentIdRef:
name: env-containerapp-bbmp
ingress:
allowInsecureConnections: false
externalEnabled: true
targetPort: 80
trafficWeight:
- label: canary
latestRevision: true
percentage: 100
transport: auto
registry:
- passwordSecretName: registry
server: privateregistry.azurecr.io
username: username
resourceGroupName: ResourceGroupName
revisionMode: Multiple
secret:
- nameSecretRef:
name: privateregistry
namespace: default
key: registry
tags:
Environment: labs
provider: crossplane
template:
container:
- cpu: 0.25
image: privateregistry.azurecr.io/psp:latest
memory: 0.5Gi
name: psp
initProvider: {}
managementPolicies:
providerConfigRef:
name: bbmp
Steps to Reproduce
Apply the manifest.
Verify the container app controller logs and the status of the containerapp resource.
What happened?
Error creating the resource with the following message:
2024-11-01T12:50:51Z DEBUG provider-azure Async create ended. {"trackerUID": "d8ed1da1-edac-485e-8e65-f2c92a563c05", "resourceName": "capp-psp", "gvk": "containerapp.azure.upbound.io/v1beta1, Kind=ContainerApp", "error": "async create failed: failed to create the resource: [{0 creating Container App (Subscription: \"subscriptionID\"\nResource Group Name: \"ResourceGroupName\"\nContainer App Name: \"capp-psp\"): performing CreateOrUpdate: unexpected status 400 (400 Bad Request) with error: ContainerAppSecretInvalid: Invalid Request: Container app secret(s) with name(s) '' are invalid: value or keyVaultUrl and identity should be provided. creating Container App (Subscription: \"subscriptionID\"\nResource Group Name: \"ResourceGroupName\"\nContainer App Name: \"capp-psp\"): performing CreateOrUpdate: unexpected status 400 (400 Bad Request) with error: ContainerAppSecretInvalid: Invalid Request: Container app secret(s) with name(s) '' are invalid: value or keyVaultUrl and identity should be provided. []}]", "tfID": ""}
Relevant Error Output Snippet
Crossplane Version
1.17.1
Provider Version
v1.7.0
Kubernetes Version
1.30.3
Kubernetes Distribution
AKS
Additional Info
I am trying to pull an image from a private registry using secrets with user and passwords, the registry was not created with crossplane, in kubernetes there is a secret with user and password.
The text was updated successfully, but these errors were encountered: