Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not able to map PublicIP with NetworkInterface ( Provider-azure-network) #827

Open
DhivyaPal opened this issue Sep 26, 2024 · 0 comments
Open

Comments

@DhivyaPal
Copy link

apiVersion: network.azure.upbound.io/v1beta1
kind: PublicIP
metadata:
annotations:
meta.upbound.io/example-id: network/v1beta1/networkinterface
labels:
testing.upbound.io/example-name: example-public-ip
name: example
spec:
forProvider:
allocationMethod: Static
location: Central India
resourceGroupName: IZO_MCN_Orchestrator
providerConfigRef:
name: azure-provider

apiVersion: network.azure.upbound.io/v1beta1
kind: NetworkInterface
metadata:
annotations:
meta.upbound.io/example-id: network/v1beta1/networkinterface
labels:
testing.upbound.io/example-name: example
name: example-with-publicip
spec:
forProvider:
ipConfiguration:
- name: internal
privateIpAddressAllocation: Dynamic
publicIpAddressIdSelector:
matchLabels:
testing.upbound.io/example-name: example-public-ip
# subnetIdSelector:
# matchLabels:
# testing.upbound.io/example-name: example
subnetIdRef:
name: cal-azure-subnet-02
location: Central India
resourceGroupName: IZO_MCN_Orchestrator
providerConfigRef:
name: azure-provider

Error from server (BadRequest): error when creating "azure-network-interface.yaml": NetworkInterface in version "v1beta1" cannot be handled as a NetworkInterface: strict decoding error: unknown field "spec.forProvider.ipConfiguration[0].publicIpAddressIdSelector"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant